-
-
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
chore(deps): update dependency @rollup/plugin-commonjs to v22 #7886
Conversation
This PR should fix #2139. |
I managed to fix the serve tests in https://github.com/fwouts/vite/tree/renovate/rollup-plugin-commonjs-22.x but a lot of build tests are failing. It could be because of rollup/plugins#1169, although I'm not familiar enough with Vite internals to be able to tell. |
I think the change in plugin-commonjs is big enough to push it to the next minor/major. There may be bugs that are going to surface in the next weeks. We're going to start the Vite 3 beta period soon, so let's merge it then. |
9a06895
to
e589e0d
Compare
e589e0d
to
239047f
Compare
We are no longer going to use |
Actually, closing this one as #7894 is more advanced towards being able to update. |
Renovate Ignore NotificationAs this PR has been closed unmerged, Renovate will ignore this upgrade and you will not receive PRs for any future 22.x releases. However, if you upgrade to 22.x manually then Renovate will reenable minor and patch updates automatically. If this PR was closed by mistake or you changed your mind, you can simply rename this PR and you will soon get a fresh replacement PR opened. |
@patak-dev rollup/plugins#988 is probably the primary reason for some users to want the updated plugin-commonjs. There is a collection of libraries using cyclic requires in ways that the version of plugin-commonjs that Vite is currently using breaks. So those libraries just cannot be used in Vite. |
@patak-dev Any docs on what it will take to do so?
Right, which makes me wonder if "esbuild-based interop" will solve that naturally or will it become even farther from being solved by completely eliminating those libraries (in my case pulled as dependency indirectly) from being used in Vite. |
@dantman @kskalski you can already try esbuild-based interop in [email protected], it is the default at least during the alpha. If there is a bug in esbuild with cyclic requires, then it would be good to report it to esbuild so it is fixed. But IIUC, this wasn't the case. Please report back, there may still be other issues though as this new code path is new and we need to polish it before the stable release. |
This PR contains the following updates:
^21.1.0
->^22.0.0
Release Notes
rollup/plugins
v22.0.0
2022-04-24
Breaking Changes
Bugfixes
Features
Updates
Configuration
📅 Schedule: "before 3am on Monday" (UTC).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.