Skip to content

Commit

Permalink
switch to @sveltejs/vite-plugin-svelte (#584)
Browse files Browse the repository at this point in the history
* switch to @sveltejs/vite-plugin-svelte

* fix imports
  • Loading branch information
dominikg authored Mar 20, 2021
1 parent 5469467 commit d0a7019
Show file tree
Hide file tree
Showing 5 changed files with 31 additions and 12 deletions.
5 changes: 5 additions & 0 deletions .changeset/brown-days-agree.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sveltejs/kit': patch
---

switch to @sveltejs/vite-plugin-svelte
2 changes: 1 addition & 1 deletion packages/kit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"version": "1.0.0-next.54",
"type": "module",
"dependencies": {
"@svitejs/vite-plugin-svelte": "^0.11.0",
"@sveltejs/vite-plugin-svelte": "^1.0.0-next.5",
"cheap-watch": "^1.0.3",
"sade": "^1.7.4"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/src/core/build/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import create_manifest_data from '../../core/create_manifest_data/index.js';
import { copy_assets } from '../utils.js';
import { create_app } from '../../core/create_app/index.js';
import vite from 'vite';
import svelte from '@svitejs/vite-plugin-svelte';
import svelte from '@sveltejs/vite-plugin-svelte';

/** @param {any} value */
const s = (value) => JSON.stringify(value);
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/src/core/dev/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import { rimraf } from '@sveltejs/app-utils/files';
import { ssr } from '../../runtime/server/index.js';
import { get_body } from '@sveltejs/app-utils/http';
import { copy_assets } from '../utils.js';
import svelte from '@svitejs/vite-plugin-svelte';
import svelte from '@sveltejs/vite-plugin-svelte';

/** @typedef {{ cwd?: string, port: number, config: import('../../../types.internal').ValidatedConfig }} Options */
/** @typedef {import('../../../types.internal').SSRComponent} SSRComponent */
Expand Down
32 changes: 23 additions & 9 deletions pnpm-lock.yaml

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

0 comments on commit d0a7019

Please sign in to comment.