Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: sveltekit version and custom service worker injection point (js) #27

Merged
merged 1 commit into from
Oct 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@vite-pwa/create-pwa",
"type": "module",
"version": "0.4.2",
"packageManager": "pnpm@9.9.0",
"packageManager": "pnpm@9.12.2",
"description": "PWA Templates",
"author": "antfu <anthonyfu117@hotmail.com>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/versions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ export const WorkboxVersion = '^7.1.0'
export const VitePluginPWAVersion = '^0.20.5'
export const PWAAssetsVersion = '^0.2.6'
export const NuxtPWAModuleVersion = '^0.10.5'
export const SvelteKitPWAVersion = '^0.6.5'
export const SvelteKitPWAVersion = '^0.6.6'
export const RemixPWAVersion = '^0.1.3'
export const TypeScriptVersion = '^5.4.5'
export const VueTscVersion = '^2.1.4'
Expand Down
2 changes: 1 addition & 1 deletion templates/template-custom-svelte-kit/src/claims-sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ if (import.meta.env.DEV)

// to allow work offline
registerRoute(new NavigationRoute(
createHandlerBoundToURL('index.html'),
createHandlerBoundToURL('/'),
{ allowlist },
))

Expand Down
2 changes: 1 addition & 1 deletion templates/template-custom-svelte-kit/src/prompt-sw.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,6 @@ if (import.meta.env.DEV)

// to allow work offline
registerRoute(new NavigationRoute(
createHandlerBoundToURL('index.html'),
createHandlerBoundToURL('/'),
{ allowlist },
))