-
-
Notifications
You must be signed in to change notification settings - Fork 6.4k
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: bump @rollup/plugin-commonjs to v19, fix #3312 #3353
Conversation
- v18 added the `ignoreDynamicRequires` option as a breaking change. The earlier behaviour matched `true`, so I set it as the default (ref: rollup/plugins#819) - v19 is a breaking change since it now requires Rollup 2.38.0, but we’re already on 2.38.5. (ref: rollup/plugins#658)
- v18 added the `ignoreDynamicRequires` option as a breaking change. The earlier behaviour matched `true`, so I set it as the default (ref: rollup/plugins#819) - v19 is a breaking change since it now requires Rollup 2.38.0, but we’re already on 2.38.5. (ref: rollup/plugins#658)
and
But as the CommonJS plugin is mainly used for third-party dependencies in Vite apps, I think the latter use case is very rare, and it seems not quite useful either. |
Fixing the Though, that issue seems also to be a Rollup bug. So it's not a very urgent issue here. |
This new default broke my build. On It'd be nice to get types for the override option, too. |
See #3353 (comment) Fixes #3426 Fixes #3997
Description
Fixes #3312
ignoreDynamicRequires
option as a breaking change. The earlier behaviour matchedtrue
, so I set it as the default (ref: feat(commonjs): Add ignore-dynamic-requires option rollup/plugins#819)Additional context
What is the purpose of this pull request?
Before submitting the PR, please make sure you do the following
fixes #123
).