feat: init
This commit is contained in:
@@ -12,14 +12,7 @@ export default defineConfig({
|
||||
open: true,
|
||||
},
|
||||
css: {
|
||||
modules: {
|
||||
generateScopedName: () => {
|
||||
if (process.env.NODE_ENV === "production") {
|
||||
return `[hash:base64:8]`;
|
||||
}
|
||||
return `[name]__[local]___[hash:base64:5]`;
|
||||
},
|
||||
},
|
||||
modules: {},
|
||||
preprocessorOptions: {
|
||||
less: {
|
||||
// 全局变量
|
||||
|
||||
Reference in New Issue
Block a user