fix: 修复 element ui 打包后字体图标乱码的问题

This commit is contained in:
phanes 2021-12-14 17:54:18 +08:00
parent c5dbd04c9c
commit f8e99cb2a0
2 changed files with 10 additions and 1 deletions

View File

@ -71,7 +71,7 @@
"eslint-plugin-vue": "7.2.0",
"lint-staged": "10.5.3",
"runjs": "4.4.2",
"sass": "1.32.13",
"sass": "1.39.0",
"sass-loader": "10.1.1",
"script-ext-html-webpack-plugin": "2.1.5",
"svg-sprite-loader": "5.1.1",

View File

@ -42,6 +42,15 @@ module.exports = {
},
disableHostCheck: true
},
css: {
loaderOptions: {
sass: {
sassOptions: {
outputStyle: 'expanded'
}
}
}
},
configureWebpack: {
name: name,
resolve: {