-
-
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
Build fails when passing manualchunks to rollup #1718
Comments
This should be fixed now: #1572 |
Hi @benmccann. Is the fix #1572 rolled out? I am using sveltejs/kit
|
+1 same for me. Would be nice, if it gets sorted out! |
@benmccann I don't understand your comment. And I don't believe that this issue should have been closed. First the PR that you mentioned is the same one the I mentioned in the bottom of my initial comment. Was that the one that you intended to link? Also I pulled the latest of the sveltejs/kit repo and was still able to reproduce the issue. Were you not able to reproduce locally following my instructions? Please reopen this issue, as it is not resolved to my knowledge. |
In the description to #1572, @johnnysprinkles said "it allows us to specify |
I understand completely how that could be confusing, that PR was merged and the original issue closed before I made this one. Thanks! |
Hanging out for this one :) My lighthouse score dropped to 99 because of the vendor.js |
Just checking if anyone has found any work around to this issue. |
sveltejs/kit@1.0.0-next.192 will allow you to pass |
Describe the bug
When passing manual chunks to rollup through vite, the build falls.
Logs
n/a see stack trace
To Reproduce
To recreate, I added:
to
svelte.config.js
in the hacker news example and I get the following error.Note, I get the same error with different
manualChunk
configs. I also got an error in my project after installing the local build. I tried disablinginlineDynamicImports
but that config is protected by sveltekit.Expected behavior
The build should succeed. I suppose there should be a way to specify "
output.inlineDynamicImports
." If sveltekit is manually edited to disableinlineDynamicImports
the build will pass:from comment by @johnnysprinkles
Stacktraces
Stack trace
Information about your SvelteKit Installation:
Diagnostics
I am running a locally built version of the master branch so version 1.116(?) of sveltekit
Severity
Low, I was just trying to change my build output by reshaping the vendor chunk. I am able to deploy without this change.
Additional context
related to:
manualChunks
)The text was updated successfully, but these errors were encountered: