Skip to content

Commit 9edbf3b

Browse files
committed
chore(webapp): update sass
Update required for `vite@6`
1 parent f225af7 commit 9edbf3b

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

www/webapp/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@
3333
"eslint-plugin-vue": "^9.15.1",
3434
"eslint-plugin-vue-scoped-css": "^2.6.1",
3535
"eslint-plugin-vuetify": "^1.1.0",
36-
"sass": "~1.32.13",
36+
"sass": "~1.83.4",
3737
"unplugin-vue-components": "^28.0.0",
3838
"vite": "^6.0.11",
3939
"vuetify-loader": "~1.9.1"

www/webapp/vite.config.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,15 @@ export default defineConfig({
1010
define: {
1111
'process.env.BUILD': '"web"' // fix for vuelidate@0.7.7
1212
},
13+
css: {
14+
preprocessorOptions: {
15+
sass: {
16+
api: 'modern-compiler',
17+
/** @type {import('sass').Options.silenceDeprecations } */
18+
silenceDeprecations: ['global-builtin', 'import', 'slash-div'],
19+
},
20+
},
21+
},
1322
plugins: [
1423
vue({
1524
template: {

0 commit comments

Comments
 (0)