Skip to content

Commit

Permalink
chore: upgrade to Svelte 5
Browse files Browse the repository at this point in the history
  • Loading branch information
jillro committed Dec 17, 2024
1 parent ad8e767 commit 6925b12
Show file tree
Hide file tree
Showing 7 changed files with 140 additions and 207 deletions.
3 changes: 1 addition & 2 deletions esbuild.config.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import esbuildSvelte from "esbuild-svelte";
import sveltePreprocess from "svelte-preprocess";
import esbuild from "esbuild";
import process from "process";
import { builtinModules } from "node:module";
Expand All @@ -19,7 +18,7 @@ const context = await esbuild.context({
css: "injected",
...(prod ? {} : { enableSourcemap: true }),
},
preprocess: sveltePreprocess(...(prod ? [] : [{ sourceMap: true }])),
sourceMap: !prod,
filterWarnings: (warning) => warning.code !== "css-unused-selector",
}),
],
Expand Down
201 changes: 64 additions & 137 deletions package-lock.json

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

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,16 @@
"esbuild": "^0.24.0",
"esbuild-svelte": "^0.9.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.43.0",
"eslint-plugin-svelte": "^2.45.1",
"globals": "^15.13.0",
"obsidian": "latest",
"prettier": "^3.3.3",
"prettier-plugin-svelte": "^3.2.6",
"svelte": "^4.2.12",
"svelte": "^5.0.0",
"svelte-eslint-parser": "^0.43.0",
"svelte-preprocess": "^6.0.3",
"tsafe": "^1.8.5",
"tslib": "^2.6.2",
"typescript": "^5.3.3",
"typescript": "^5.5.0",
"typescript-eslint": "^8.18.0"
},
"dependencies": {
Expand Down
Loading

0 comments on commit 6925b12

Please sign in to comment.