Skip to content

Commit

Permalink
Merge pull request #419 from kubero-dev/maintenance/upgrade-vite-and-…
Browse files Browse the repository at this point in the history
…vuetsc

Maintenance/upgrade vite and vuetsc
  • Loading branch information
mms-gianni authored Sep 27, 2024
2 parents df5d0a9 + d2919de commit 09302d2
Show file tree
Hide file tree
Showing 3 changed files with 321 additions and 197 deletions.
4 changes: 2 additions & 2 deletions client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"sass": "^1.60.0",
"typescript": "^5.0.0",
"unplugin-fonts": "^1.0.3",
"vite": "^4.5.5",
"vite": "^5.1.8",
"vite-plugin-vuetify": "^1.0.0",
"vue-tsc": "^1.2.0"
"vue-tsc": "^2.1.0"
}
}
12 changes: 12 additions & 0 deletions client/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,18 @@ import { fileURLToPath, URL } from 'node:url'

// https://vitejs.dev/config/
export default defineConfig({
css: {
preprocessorOptions: {
sass: {
//silenceDeprecations: ["legacy-js-api"],
api: 'modern-compiler', // or "modern", "legacy"
},
scss: {
//silenceDeprecations: ["legacy-js-api"],
api: 'modern-compiler', // or "modern", "legacy"
},
},
},
plugins: [
vue({
template: { transformAssetUrls },
Expand Down
Loading

0 comments on commit 09302d2

Please sign in to comment.