Skip to content

Commit

Permalink
build: silence deprecations of SASS warnings of mixed decls (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
tang2087 authored Sep 12, 2024
1 parent 6acdcd0 commit 35bbe3f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 6 deletions.
9 changes: 9 additions & 0 deletions ui/nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,15 @@ const baseURL = "/ui/"
export default defineNuxtConfig({
devtools: { enabled: false },
ssr: false,
vite: {
css: {
preprocessorOptions: {
scss: {
silenceDeprecations: ["mixed-decls"]
}
}
}
},

typescript: {
strict: true,
Expand Down
9 changes: 4 additions & 5 deletions ui/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.2.1",
"prettier": "^3.3.3",
"sass": "1.77.6",
"sass": "^1.78.0",
"sass-loader": "^16.0.1",
"typescript": "^5.6.2",
"vite-plugin-node-polyfills": "^0.22.0"
Expand Down

0 comments on commit 35bbe3f

Please sign in to comment.