Skip to content

Commit

Permalink
feat(svelte)!: update svelte templates to vite-plugin-svelte 2.0.0 (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
dominikg committed Dec 9, 2022
1 parent 026f41e commit 2a558ef
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
5 changes: 2 additions & 3 deletions packages/create-vite/template-svelte-ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,10 @@
"check": "svelte-check --tsconfig ./tsconfig.json"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^2.0.0-beta.0",
"@sveltejs/vite-plugin-svelte": "^2.0.0",
"@tsconfig/svelte": "^3.0.0",
"svelte": "^3.53.1",
"svelte": "^3.54.0",
"svelte-check": "^2.10.0",
"svelte-preprocess": "^4.10.7",
"tslib": "^2.4.1",
"typescript": "^4.9.3",
"vite": "^4.0.0"
Expand Down
6 changes: 3 additions & 3 deletions packages/create-vite/template-svelte-ts/svelte.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import sveltePreprocess from 'svelte-preprocess'
import { vitePreprocess } from '@sveltejs/vite-plugin-svelte'

export default {
// Consult https://github.com/sveltejs/svelte-preprocess
// Consult https://svelte.dev/docs#compile-time-svelte-preprocess
// for more information about preprocessors
preprocess: sveltePreprocess(),
preprocess: vitePreprocess(),
}
4 changes: 2 additions & 2 deletions packages/create-vite/template-svelte/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"preview": "vite preview"
},
"devDependencies": {
"@sveltejs/vite-plugin-svelte": "^2.0.0-beta.0",
"svelte": "^3.53.1",
"@sveltejs/vite-plugin-svelte": "^2.0.0",
"svelte": "^3.54.0",
"vite": "^4.0.0"
}
}

0 comments on commit 2a558ef

Please sign in to comment.