Skip to content

Commit

Permalink
fix(app-vite): update to latest Sass specs; supress more warning #17581
Browse files Browse the repository at this point in the history
  • Loading branch information
rstoenescu committed Oct 17, 2024
1 parent bcce29e commit 06bdd73
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app-vite/lib/config-tools.js
Original file line number Diff line number Diff line change
Expand Up @@ -148,10 +148,10 @@ function createViteConfig (quasarConf, quasarRunMode) {
preprocessorOptions: {
// Silence sass deprecations; Vite 2 does not know about sass-embedded or api=modern/modern-compiler
sass: {
silenceDeprecations: [ 'legacy-js-api' ]
silenceDeprecations: [ 'legacy-js-api', 'import', 'global-builtin' ]
},
scss: {
silenceDeprecations: [ 'legacy-js-api' ]
silenceDeprecations: [ 'legacy-js-api', 'import', 'global-builtin' ]
}
}
},
Expand Down

0 comments on commit 06bdd73

Please sign in to comment.