refactor(vite.config.ts): 删除无用配置

This commit is contained in:
郝先瑞
2022-02-27 12:53:55 +08:00
parent dcdbf124d8
commit 3b144721ec

View File

@@ -40,18 +40,8 @@ export default ({command, mode}: ConfigEnv): UserConfig => {
alias: { alias: {
"@": path.resolve("./src"), // 相对路径别名配置,@表示src "@": path.resolve("./src"), // 相对路径别名配置,@表示src
} }
},
// SCSS 变量导出
// @see https://www.vitejs.net/config/#css-preprocessoroptions
/*css: {
preprocessorOptions: {
scss: {
additionalData: `@import "./src/styles/element-variables.scss";`,
javascriptEnabled: true
} }
} }
}*/
}
) )
} }