Skip to content

Commit

Permalink
feat: upgrade to sveltekit 2
Browse files Browse the repository at this point in the history
  • Loading branch information
umaranis committed Apr 6, 2024
1 parent 4c47b4d commit bf17bac
Show file tree
Hide file tree
Showing 3 changed files with 194 additions and 107 deletions.
11 changes: 6 additions & 5 deletions demos/sveltekit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,19 @@
"check": "svelte-check --fail-on-warnings"
},
"devDependencies": {
"@sveltejs/adapter-auto": "^2.0.1",
"@sveltejs/kit": "^1.20.4",
"@sveltejs/adapter-auto": "^3.2.0",
"@sveltejs/kit": "^2.5.5",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"eslint": "^8.39.0",
"eslint-plugin-svelte": "^2.35.1",
"svelte": "^4.2.12",
"svelte-check": "^3.4.3",
"svelte-check": "^3.6.9",
"typescript": "^5.0.4",
"vite": "^4.3.1"
"vite": "^5.2.7"
},
"type": "module",
"dependencies": {
"svelte-lexical": "0.3.5",
"svelte-preprocess": "^5.0.3"
"svelte-preprocess": "^5.1.3"
}
}
3 changes: 3 additions & 0 deletions demos/sveltekit/vite.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@ import {defineConfig} from 'vite';

export default defineConfig({
plugins: [sveltekit()],
ssr: {
noExternal: [/^(lexical|@lexical\/.*)$/],
},
});
Loading

0 comments on commit bf17bac

Please sign in to comment.