Skip to content

Commit 13d9156

Browse files
committed
upgrade vue-tsc and vite
1 parent 3602a98 commit 13d9156

File tree

3 files changed

+356
-186
lines changed

3 files changed

+356
-186
lines changed

client/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,12 @@
4242
"sass": "^1.60.0",
4343
"typescript": "^5.0.0",
4444
"unplugin-fonts": "^1.0.3",
45+
<<<<<<< Updated upstream
4546
"vite": "^4.2.0",
47+
=======
48+
"vite": "^5.1.8",
49+
>>>>>>> Stashed changes
4650
"vite-plugin-vuetify": "^1.0.0",
47-
"vue-tsc": "^1.2.0"
51+
"vue-tsc": "^2.1.0"
4852
}
4953
}

client/vite.config.ts

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,18 @@ import { fileURLToPath, URL } from 'node:url'
99

1010
// https://vitejs.dev/config/
1111
export default defineConfig({
12+
css: {
13+
preprocessorOptions: {
14+
sass: {
15+
//silenceDeprecations: ["legacy-js-api"],
16+
api: 'modern-compiler', // or "modern", "legacy"
17+
},
18+
scss: {
19+
//silenceDeprecations: ["legacy-js-api"],
20+
api: 'modern-compiler', // or "modern", "legacy"
21+
},
22+
},
23+
},
1224
plugins: [
1325
vue({
1426
template: { transformAssetUrls },

0 commit comments

Comments
 (0)