mirror of
https://github.com/imsyy/home.git
synced 2025-05-18 20:20:14 +09:00
fix(修复Sass的@import规则已弃用警告问题):
This commit is contained in:
parent
081834c3b1
commit
e05c7c28de
@ -106,8 +106,9 @@ export default ({ mode }) =>
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
charset: false,
|
||||
additionalData: `@import "./src/style/global.scss";`,
|
||||
api: 'modern',
|
||||
additionalData: `@use "./src/style/global.scss" as *;`,
|
||||
silenceDeprecations: ["legacy-js-api"],
|
||||
},
|
||||
},
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user