chore: 使用现代编译器
解决 `The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.`
This commit is contained in:
1 parent
7f12e192e0
commit
57d97a7a3d
1 file changed
+7
@@ -65,4 +65,11 @@ export default ({ mode }) =>
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
css: {
|
||||||
|
preprocessorOptions: {
|
||||||
|
scss: {
|
||||||
|
api: 'modern-compiler', // or 'modern'
|
||||||
|
},
|
||||||
|
},
|
||||||
|
},
|
||||||
});
|
});
|
||||||
Reference in new issue
Block a user