1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-04-06 03:57:53 +08:00

Replace: node sass with dart sass

https://juejin.cn/post/6990170277162254372
This commit is contained in:
sn0wdr1am 2023-06-19 00:11:23 +08:00
parent 27dc2c5800
commit a83614361d
No known key found for this signature in database
GPG Key ID: 2D2BCE9C9ABA9BFC

View File

@ -38,6 +38,13 @@ module.exports = {
},
before: require('./mock/mock-server.js')
},
css: {
loaderOptions: {
sass: {
implementation: require('sass') // This line must in sass option
}
}
},
configureWebpack: {
// provide the app's title in webpack's name field, so that
// it can be accessed in index.html to inject the correct title.