1
0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-01-01 08:31:59 +00:00

chore: remove svelte-preprocess (#7159)

This commit is contained in:
Ben McCann 2024-02-17 05:35:51 -08:00 committed by GitHub
parent fab19a8583
commit 3915867b1b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 13 additions and 15 deletions

15
web/package-lock.json generated
View file

@ -31,8 +31,8 @@
"@floating-ui/dom": "^1.5.1", "@floating-ui/dom": "^1.5.1",
"@socket.io/component-emitter": "^3.1.0", "@socket.io/component-emitter": "^3.1.0",
"@sveltejs/adapter-static": "^3.0.1", "@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.0.6", "@sveltejs/kit": "^2.5.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.2",
"@testing-library/jest-dom": "^6.1.5", "@testing-library/jest-dom": "^6.1.5",
"@testing-library/svelte": "^4.0.3", "@testing-library/svelte": "^4.0.3",
"@types/dom-to-image": "^2.6.4", "@types/dom-to-image": "^2.6.4",
@ -54,9 +54,8 @@
"prettier-plugin-organize-imports": "^3.2.4", "prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-svelte": "^3.1.2", "prettier-plugin-svelte": "^3.1.2",
"rollup-plugin-visualizer": "^5.12.0", "rollup-plugin-visualizer": "^5.12.0",
"svelte": "^4.0.5", "svelte": "^4.2.11",
"svelte-check": "^3.4.3", "svelte-check": "^3.6.4",
"svelte-preprocess": "^5.0.3",
"tailwindcss": "^3.2.7", "tailwindcss": "^3.2.7",
"tslib": "^2.5.0", "tslib": "^2.5.0",
"typescript": "^5.3.3", "typescript": "^5.3.3",
@ -7428,9 +7427,9 @@
} }
}, },
"node_modules/svelte": { "node_modules/svelte": {
"version": "4.2.10", "version": "4.2.11",
"resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.10.tgz", "resolved": "https://registry.npmjs.org/svelte/-/svelte-4.2.11.tgz",
"integrity": "sha512-Ep06yCaCdgG1Mafb/Rx8sJ1QS3RW2I2BxGp2Ui9LBHSZ2/tO/aGLc5WqPjgiAP6KAnLJGaIr/zzwQlOo1b8MxA==", "integrity": "sha512-YIQk3J4X89wOLhjsqIW8tqY3JHPuBdtdOIkASP2PZeAMcSW9RsIjQzMesCrxOF3gdWYC0mKknlKF7OqmLM+Zqg==",
"dependencies": { "dependencies": {
"@ampproject/remapping": "^2.2.1", "@ampproject/remapping": "^2.2.1",
"@jridgewell/sourcemap-codec": "^1.4.15", "@jridgewell/sourcemap-codec": "^1.4.15",

View file

@ -26,8 +26,8 @@
"@floating-ui/dom": "^1.5.1", "@floating-ui/dom": "^1.5.1",
"@socket.io/component-emitter": "^3.1.0", "@socket.io/component-emitter": "^3.1.0",
"@sveltejs/adapter-static": "^3.0.1", "@sveltejs/adapter-static": "^3.0.1",
"@sveltejs/kit": "^2.0.6", "@sveltejs/kit": "^2.5.0",
"@sveltejs/vite-plugin-svelte": "^3.0.0", "@sveltejs/vite-plugin-svelte": "^3.0.2",
"@testing-library/jest-dom": "^6.1.5", "@testing-library/jest-dom": "^6.1.5",
"@testing-library/svelte": "^4.0.3", "@testing-library/svelte": "^4.0.3",
"@types/dom-to-image": "^2.6.4", "@types/dom-to-image": "^2.6.4",
@ -49,9 +49,8 @@
"prettier-plugin-organize-imports": "^3.2.4", "prettier-plugin-organize-imports": "^3.2.4",
"prettier-plugin-svelte": "^3.1.2", "prettier-plugin-svelte": "^3.1.2",
"rollup-plugin-visualizer": "^5.12.0", "rollup-plugin-visualizer": "^5.12.0",
"svelte": "^4.0.5", "svelte": "^4.2.11",
"svelte-check": "^3.4.3", "svelte-check": "^3.6.4",
"svelte-preprocess": "^5.0.3",
"tailwindcss": "^3.2.7", "tailwindcss": "^3.2.7",
"tslib": "^2.5.0", "tslib": "^2.5.0",
"typescript": "^5.3.3", "typescript": "^5.3.3",

View file

@ -1,9 +1,9 @@
import adapter from '@sveltejs/adapter-static'; import adapter from '@sveltejs/adapter-static';
import preprocess from 'svelte-preprocess'; import { vitePreprocess } from '@sveltejs/vite-plugin-svelte';
/** @type {import('@sveltejs/kit').Config} */ /** @type {import('@sveltejs/kit').Config} */
const config = { const config = {
preprocess: preprocess(), preprocess: vitePreprocess(),
onwarn: (warning, handler) => { onwarn: (warning, handler) => {
if (warning.code.includes('a11y')) { if (warning.code.includes('a11y')) {
return; return;