mirror of
https://github.com/vitejs/vite.git
synced 2024-11-21 14:48:41 +00:00
test: silence sass legacy-js-api deprecation log (#18253)
This commit is contained in:
parent
9ab6180d3a
commit
d21bdbfcee
@ -52,4 +52,11 @@ function BackendIntegrationExample() {
|
||||
export default defineConfig({
|
||||
base: '/dev/',
|
||||
plugins: [BackendIntegrationExample()],
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
silenceDeprecations: ['legacy-js-api'],
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
@ -31,6 +31,9 @@ export default defineConfig({
|
||||
}
|
||||
},
|
||||
},
|
||||
sass: {
|
||||
silenceDeprecations: ['legacy-js-api'],
|
||||
},
|
||||
},
|
||||
},
|
||||
build: {
|
||||
|
@ -77,6 +77,7 @@ export default defineConfig({
|
||||
return url.endsWith('.wxss') ? { contents: '' } : null
|
||||
},
|
||||
],
|
||||
silenceDeprecations: ['legacy-js-api'],
|
||||
},
|
||||
styl: {
|
||||
additionalData: `$injectedColor ?= orange`,
|
||||
|
@ -37,4 +37,11 @@ export default defineConfig({
|
||||
},
|
||||
},
|
||||
},
|
||||
css: {
|
||||
preprocessorOptions: {
|
||||
scss: {
|
||||
silenceDeprecations: ['legacy-js-api'],
|
||||
},
|
||||
},
|
||||
},
|
||||
})
|
||||
|
Loading…
Reference in New Issue
Block a user