Skip to content

Commit

Permalink
Bump vite to v5
Browse files Browse the repository at this point in the history
  • Loading branch information
OJFord committed Apr 26, 2024
1 parent 6a02704 commit 754192b
Show file tree
Hide file tree
Showing 3 changed files with 298 additions and 172 deletions.
4 changes: 2 additions & 2 deletions eml-client/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/svelte-fontawesome": "^0.2.2",
"@spence1115/eslint-plugin-modules-newlines": "^1.0.1",
"@sveltejs/vite-plugin-svelte": "^2.5.3",
"@sveltejs/vite-plugin-svelte": "^3.1.0",
"@sveltestrap/sveltestrap": "^6.2.7",
"@tauri-apps/api": "^2.0.0-beta.5",
"@tauri-apps/cli": "^2.0.0-beta.9",
Expand All @@ -23,7 +23,7 @@
"sass": "^1.75.0",
"svelte": "^4.2.15",
"svelte-pdfjs": "^0.6.3",
"vite": "^4.5.2"
"vite": "^5.2.10"
},
"engines": {
"node": ">=16.0.0"
Expand Down
10 changes: 10 additions & 0 deletions eml-client/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,16 @@ import {
} from "@sveltejs/vite-plugin-svelte"

export default defineConfig({
build: {
target: "esnext",
},

optimizeDeps: {
esbuildOptions: {
target: "esnext",
},
},

plugins: [
svelte(),
],
Expand Down
Loading

0 comments on commit 754192b

Please sign in to comment.