chore: configure vite for WASM and add dependencies

- Add vite-plugin-wasm for Photon WASM support
- Configure worker format and build target
- Add photon, jszip, lucide-svelte
- Add tailwindcss forms/typography plugins

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
2026-05-13 18:06:06 -04:00
parent 6f8a187246
commit 0cb43607ac
3 changed files with 177 additions and 2 deletions

View File

@@ -19,6 +19,8 @@
"@sveltejs/adapter-static": "^3.0.10",
"@sveltejs/kit": "^2.57.0",
"@sveltejs/vite-plugin-svelte": "^7.0.0",
"@tailwindcss/forms": "^0.5.11",
"@tailwindcss/typography": "^0.5.19",
"@tailwindcss/vite": "^4.2.2",
"@types/node": "^24",
"eslint": "^10.2.0",
@@ -33,6 +35,12 @@
"tailwindcss": "^4.2.2",
"typescript": "^6.0.2",
"typescript-eslint": "^8.58.1",
"vite": "^8.0.7"
"vite": "^8.0.7",
"vite-plugin-wasm": "^3.6.0"
},
"dependencies": {
"@silvia-odwyer/photon": "^0.3.3",
"jszip": "^3.10.1",
"lucide-svelte": "^1.0.1"
}
}