Skip to content

Commit

Permalink
chore: use sass-embedded
Browse files Browse the repository at this point in the history
  • Loading branch information
KaelWD committed Aug 15, 2024
1 parent 2766105 commit 4c1f4b6
Show file tree
Hide file tree
Showing 4 changed files with 278 additions and 55 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"moment": "^2.30.1",
"rimraf": "^5.0.5",
"sass": "^1.77.8",
"sass-embedded": "^1.77.8",
"semver": "^7.6.0",
"shelljs": "^0.8.5",
"stringify-object": "^5.0.0",
Expand Down
3 changes: 1 addition & 2 deletions packages/docs/vite.config.mts
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,9 @@ export default defineConfig(({ command, mode, isSsrBuild }) => {
css: {
preprocessorOptions: {
sass: {
api: 'modern'
api: 'modern-compiler'
}
},
preprocessorMaxWorkers: true,
},
build: {
sourcemap: true,
Expand Down
9 changes: 8 additions & 1 deletion packages/vuetify/vite.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,13 @@ export default defineConfig(({ mode }) => {
},
build: {
minify: false,
}
},
css: {
preprocessorOptions: {
sass: {
api: 'modern-compiler'
}
},
},
}
})
Loading

0 comments on commit 4c1f4b6

Please sign in to comment.