-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Origin/alexander vidoni/fix missing dependency #25
Origin/alexander vidoni/fix missing dependency #25
Conversation
…svelte In Svelte and SvelteKit there is no index.html due to the routing. So / is the entrypoint to the app. I think that this should be reflected in the createHandlerBoundRoute() function. So I changed it to / and the uncaugth Error from the browsers console does no longer show up. Precaching works correct and the registration of the sevice woker is now possible without moving to state "redundant" any more. I think that it was just a typo, because in the .ts files of template-custom-svelte-kit it was already set to "/".
/publish |
commit: |
We don't use |
When running How to replay: CREATE npm create @vite-pwa/pwa@latest create-svelte version 6.4.0 ┌ Welcome to SvelteKit! Install more integrations with: Next steps: To close the dev server, hit Ctrl-C Stuck? Visit us at https://svelte.dev/chat PWA configuration done. Now run: cd vite-project INSTALL npm install added 434 packages, and audited 435 packages in 23s 91 packages are looking for funding 4 low severity vulnerabilities To address all issues (including breaking changes), run: Run BUILD npm run build
ERROR npm run build
failed to load config from [...] vite-project/vite.config.js FIX npm i fast-glob |
Yes, but not in version The change from
As long as there is no Until the release of |
Looks like we've some problem in the kit integration... |
This line shouldn't be there: https://github.com/vite-pwa/sveltekit/blob/4cc62f598483173775308a143df5da9a13450bb0/src/plugins/SvelteKitPlugin.ts#L7 We need to use tinyglobby instead. |
I edited my post look at: #25 (comment) |
I tested building |
This is a dev dependency in kit repo for runtime not for build, tinyglobby is external when building the distro, the problem is about the I'll release a new patch version... then we can just update the version here and remove |
@alexander-vidoni can you check with vite-pwa/sveltekit#92 (comment) ? |
@userquin it's working in my scenario. Thank you for your help! |
@alexander-vidoni can you remove fast-glob from this PR? I'm finish testing and will release a patch, then we can just update the dependencies here or in another PR. EDIT: remove |
ok, the |
why do you close this PR? It will fix the navigate fallback. |
Sorry, it's my first time trying to contribute to a project. i did not really know what i am doing. Sorry for that. |
Description
This PR fixes two bugs:
/publish