chore: Removed PWA dependencies
This commit is contained in:
parent
91df26b8cc
commit
07e93cb62f
12
package.json
12
package.json
@ -12,6 +12,7 @@
|
||||
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./tsconfig.json --watch"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.7.2",
|
||||
"@fortawesome/free-solid-svg-icons": "^6.7.2",
|
||||
"@sveltejs/adapter-auto": "^4.0.0",
|
||||
"@sveltejs/adapter-static": "^3.0.8",
|
||||
@ -19,21 +20,14 @@
|
||||
"@sveltejs/vite-plugin-svelte": "^5.0.0",
|
||||
"@tailwindcss/vite": "^4.0.0",
|
||||
"@types/luxon": "^3.4.2",
|
||||
"@vite-pwa/sveltekit": "^0.6.7",
|
||||
"svelte": "^5.0.0",
|
||||
"svelte-check": "^4.0.0",
|
||||
"svelte-fa": "^4.0.3",
|
||||
"tailwindcss": "^4.0.0",
|
||||
"typescript": "^5.0.0",
|
||||
"vite": "^6.0.0",
|
||||
"vite-plugin-pwa": "^0.21.1",
|
||||
"workbox-build": "^7.3.0",
|
||||
"workbox-core": "^7.3.0",
|
||||
"workbox-window": "^7.3.0"
|
||||
"vite": "^6.0.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"@fortawesome/fontawesome-free": "^6.7.2",
|
||||
"luxon": "^3.5.0",
|
||||
"workbox-precaching": "^7.3.0"
|
||||
"luxon": "^3.5.0"
|
||||
}
|
||||
}
|
||||
|
@ -17,12 +17,14 @@ const config = {
|
||||
fallback: undefined,
|
||||
precompress: false,
|
||||
strict: true
|
||||
})
|
||||
}),
|
||||
files: {
|
||||
serviceWorker: 'src/service-worker.ts',
|
||||
},
|
||||
serviceWorker: {
|
||||
register: true,
|
||||
},
|
||||
},
|
||||
|
||||
serviceWorker: {
|
||||
register: false
|
||||
}
|
||||
};
|
||||
|
||||
export default config;
|
||||
|
@ -1,15 +1,11 @@
|
||||
import tailwindcss from "@tailwindcss/vite";
|
||||
import { sveltekit } from '@sveltejs/kit/vite';
|
||||
import { defineConfig } from 'vite';
|
||||
import { SvelteKitPWA } from '@vite-pwa/sveltekit';
|
||||
|
||||
const config: import('vite').UserConfig = {
|
||||
plugins: [
|
||||
sveltekit(),
|
||||
tailwindcss(),
|
||||
SvelteKitPWA({
|
||||
strategies: "injectManifest"
|
||||
})
|
||||
]
|
||||
};
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user