perf: remove unused css

This commit is contained in:
ibuler
2022-07-11 18:26:55 +08:00
committed by 老广
parent 7644bffe12
commit ca45f61c2c
9 changed files with 22 additions and 45 deletions

View File

@@ -77,15 +77,6 @@ module.exports = {
after: require('./mock/mock-server.js')
},
css: {
loaderOptions: {
sass: {
prependData: (content, loaderContext) => {
const { resourcePath } = loaderContext
if (resourcePath.endsWith('var.scss')) return content
return `@import "@/styles/var.scss"; ${content}`
}
}
}
},
configureWebpack: {
// provide the app's title in webpack's name field, so that