From 0ee305f406a1291575ddb65a6fbdf0e0a4dc8562 Mon Sep 17 00:00:00 2001 From: Patrick Haun Date: Mon, 1 Jan 2024 13:39:38 +0100 Subject: [PATCH] fix: vite support is now a plugin --- package.json | 1 + pnpm-lock.yaml | 3 +++ svelte.config.js | 2 +- 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 9380054..8742449 100644 --- a/package.json +++ b/package.json @@ -16,6 +16,7 @@ "@sveltejs/adapter-auto": "^3.0.1", "@sveltejs/adapter-static": "^3.0.1", "@sveltejs/kit": "^2.0.6", + "@sveltejs/vite-plugin-svelte": "^3.0.1", "@typescript-eslint/eslint-plugin": "^6.16.0", "@typescript-eslint/parser": "^6.16.0", "eslint": "^8.56.0", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 04d303f..e02bfbe 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -28,6 +28,9 @@ devDependencies: '@sveltejs/kit': specifier: ^2.0.6 version: 2.0.6(@sveltejs/vite-plugin-svelte@3.0.1)(svelte@4.2.8)(vite@5.0.10) + '@sveltejs/vite-plugin-svelte': + specifier: ^3.0.1 + version: 3.0.1(svelte@4.2.8)(vite@5.0.10) '@typescript-eslint/eslint-plugin': specifier: ^6.16.0 version: 6.16.0(@typescript-eslint/parser@6.16.0)(eslint@8.56.0)(typescript@5.3.3) diff --git a/svelte.config.js b/svelte.config.js index 905d270..af23fc4 100644 --- a/svelte.config.js +++ b/svelte.config.js @@ -1,5 +1,5 @@ import adapter from "@sveltejs/adapter-static"; -import { vitePreprocess } from "@sveltejs/kit/vite"; +import { vitePreprocess } from "@sveltejs/vite-plugin-svelte"; /** @type {import('@sveltejs/kit').Config} */ const config = {