修改样式
This commit is contained in:
@@ -9,7 +9,6 @@ import UniLayouts from '@uni-helper/vite-plugin-uni-layouts'
|
||||
// https://vitejs.dev/config/
|
||||
export default ({command, mode}) => {
|
||||
const {UNI_PLATFORM} = process.env
|
||||
console.log('UNI_PLATFORM -> ', UNI_PLATFORM) // 得到 mp-weixin, h5, app 等
|
||||
|
||||
const env = loadEnv(mode, path.resolve(process.cwd(), 'env'))
|
||||
const {
|
||||
@@ -20,9 +19,6 @@ export default ({command, mode}) => {
|
||||
VITE_APP_PROXY,
|
||||
VITE_APP_PROXY_PREFIX
|
||||
} = env
|
||||
console.log('环境变量 env -> ', env)
|
||||
|
||||
|
||||
return defineConfig({
|
||||
envDir: './env', // 自定义env目录
|
||||
css: {
|
||||
|
||||
Reference in New Issue
Block a user