mirror of
https://github.com/jumpserver/lina.git
synced 2025-09-21 02:59:07 +00:00
perf: remove unused css
This commit is contained in:
@@ -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
|
||||
|
Reference in New Issue
Block a user