chore: 调整环境配置
This commit is contained in:
@@ -9,6 +9,7 @@ import { AntDesignVueResolver } from "unplugin-vue-components/resolvers";
|
||||
|
||||
// @ts-ignore
|
||||
export default defineConfig(({ mode }) => {
|
||||
console.log("mode", mode);
|
||||
const env = loadEnv(mode, process.cwd(), ["VITE_"]);
|
||||
return {
|
||||
plugins: [less()],
|
||||
@@ -37,10 +38,10 @@ export default defineConfig(({ mode }) => {
|
||||
"@": path.resolve(__dirname, "./src"),
|
||||
},
|
||||
},
|
||||
output: {
|
||||
path: path.resolve(process.cwd(), "../../dist/y-code-v1"),
|
||||
clean: true,
|
||||
},
|
||||
// output: {
|
||||
// path: path.resolve(process.cwd(), "../../dist/y-code-v1"),
|
||||
// clean: true,
|
||||
// },
|
||||
},
|
||||
};
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user