We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9e7009d commit 5938da7Copy full SHA for 5938da7
vite.config.ts
@@ -48,9 +48,10 @@ export default defineConfig(async (): Promise<UserConfig> => {
48
preprocessorOptions: {
49
scss: {
50
// example : additionalData: `@import "./src/design/styles/variables";`
51
- // dont need include file extend .scss
52
api: 'modern-compiler',
53
additionalData: fileStr,
+ // 这里查看可选值:https://github.com/sass/sass/blob/1c9ec00/js-api-doc/deprecations.d.ts#L180
54
+ silenceDeprecations: ['import', 'global-builtin'],
55
},
56
postcss: {
57
plugins: [atImport({ path: join(__dirname, 'src`') })],
0 commit comments