fix: sass deprecated legacy JS API

This commit is contained in:
Ray-D-Song 2024-09-25 09:25:35 +08:00
parent 87129c8d8e
commit 9e78bf0435

View File

@ -30,5 +30,12 @@ export default defineConfig(({ mode }) => {
optimizeDeps: {
include: ['echarts', 'md-editor-v3', 'quill'],
},
css: {
preprocessorOptions: {
scss: {
api: 'modern',
},
},
},
}
})