-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
Rollup 3.26.2 breaks Nitro's Deno builds #5067
Comments
There are some wrong options in the manualChunks: (id) => {
if (id !== "https://deno.land/std/http/server.ts") return "index";
}, |
Okay, but the change you made regarding that in 3.26.2 was a breaking change (because the previous version worked without issues). In a patch release, breaking changes should be avoided in my opinion (and according to semver). I would suggest to turn this error into a warning until Rollup 4.0 is released. |
Ah, the issue is that external modules are actually passed to the |
Oh sorry folks, it's my fault. I submitted a PR to fix it. |
Thank you! |
This issue has been resolved via #5068 as part of rollup@3.26.3. You can test it via |
Rollup Version
3.26.2
Operating System (or Browser)
Linux
Node Version (if applicable)
18
Link To Reproduction
https://github.com/unjs/nitro
Expected Behaviour
Nitro works as usual with the Deno preset.
Actual Behaviour
unjs/nitro#1432.
Can be tested by running
NITRO_PRESET=deno-deploy pnpm nitro build playground
in the Nitro root. This fails with Rollup 3.26.2, but works if I downgrade to 3.26.1.The text was updated successfully, but these errors were encountered: