Skip to content

Commit 630f7a7

Browse files
committed
Silence warnings in sass
1 parent d50f419 commit 630f7a7

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

ui/vite.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,10 @@ export default {
1313
preprocessorOptions: {
1414
scss: {
1515
additionalData: `@import "src/common/global.scss"; @import "src/common/style.scss";`,
16+
// Silence deprecation warnings emitted by bootstrap 4.x or our own code.
17+
// We won't be able to migrate to Dart Sass 3.x unless we deal with these.
18+
quietDeps: true,
19+
silenceDeprecations: ["legacy-js-api", "import", "color-functions", "global-builtin"],
1620
},
1721
},
1822
postcss: {

0 commit comments

Comments
 (0)