Fix svelte not running

This commit is contained in:
Pau Figueras 2024-02-20 03:11:51 +01:00
pare 5b0e647ee3
commit 08d3edd088
S'han modificat 3 arxius amb 6 adicions i 2 eliminacions

Veure arxiu

@ -12,6 +12,7 @@
"devDependencies": { "devDependencies": {
"@sveltejs/adapter-auto": "^3.1.1", "@sveltejs/adapter-auto": "^3.1.1",
"@sveltejs/kit": "^2.5.0", "@sveltejs/kit": "^2.5.0",
"@sveltejs/vite-plugin-svelte": "^3.0.2",
"autoprefixer": "^10.4.17", "autoprefixer": "^10.4.17",
"postcss": "^8.4.35", "postcss": "^8.4.35",
"postcss-load-config": "^4.0.2", "postcss-load-config": "^4.0.2",

Veure arxiu

@ -22,6 +22,9 @@ devDependencies:
'@sveltejs/kit': '@sveltejs/kit':
specifier: ^2.5.0 specifier: ^2.5.0
version: 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3) version: 2.5.0(@sveltejs/vite-plugin-svelte@3.0.2)(svelte@4.2.11)(vite@5.1.3)
'@sveltejs/vite-plugin-svelte':
specifier: ^3.0.2
version: 3.0.2(svelte@4.2.11)(vite@5.1.3)
autoprefixer: autoprefixer:
specifier: ^10.4.17 specifier: ^10.4.17
version: 10.4.17(postcss@8.4.35) version: 10.4.17(postcss@8.4.35)

Veure arxiu

@ -1,6 +1,6 @@
import preprocess from "svelte-preprocess"; import preprocess from "svelte-preprocess";
import adapter from "@sveltejs/adapter-auto"; import adapter from "@sveltejs/adapter-auto";
import { vitePreprocess } from "@sveltejs/kit/vite"; import { vitePreprocess } from "@sveltejs/vite-plugin-svelte";
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */
const config = { const config = {