-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
Paths (base
and assets
) should be set to ''
in svelte-kit preview
#1154
Comments
base
and assets
) should be set to ''
in svelte-kit start
base
and assets
) should be set to ''
in svelte-kit preview
I've been deploying https://sidharthv96.github.io/mermaid-live-editor/ using github pages. So a baseURL is necessary. kit/packages/kit/src/core/dev/index.js Line 90 in 4dec03a
So localhost:3000/mermaid-live-editor/edit would work, but localhost:3000/mermaid-live-editor/ would not. |
I'm hitting this issue recently too. At least I think it's the same issue. I'm seeing "_svelte_kit_assets" in the requests in |
Maybe I'm misunderstanding what "_svelte_kit_assets" is for. Am I supposed to provide that path myself? |
this does not yet work in dev env as described by Rich Harris here: sveltejs/kit#1154
this does not yet work in dev env as described by Rich Harris here: sveltejs/kit#1154
this does not yet work in dev env as described by Rich Harris here: sveltejs/kit#1154
closing this as out of date — |
Describe the bug
If you're using
paths.base
orpaths.assets
it's difficult/impossible to debug the production build locally. I would have thought that this...kit/packages/kit/src/core/start/index.js
Lines 41 to 48 in 3d29d23
To Reproduce
Add
paths
config to a project, thensvelte-kit build && svelte-kit preview
Expected behavior
It should work (where 'work' means 'load JS and CSS')
Severity
Right now, extremely damn high
The text was updated successfully, but these errors were encountered: