Skip to content
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

Obsolete rollup-plugin-sourcemap #4739

Closed
birkskyum opened this issue Sep 22, 2024 · 0 comments · Fixed by #4740
Closed

Obsolete rollup-plugin-sourcemap #4739

birkskyum opened this issue Sep 22, 2024 · 0 comments · Fixed by #4740

Comments

@birkskyum
Copy link
Member

birkskyum commented Sep 22, 2024

When running npm i there is a bunch of warnings:

npm warn ERESOLVE overriding peer dependency
npm warn While resolving: @rollup/[email protected]
npm warn Found: [email protected]
npm warn node_modules/rollup
npm warn   dev rollup@"^4.22.1" from the root project
npm warn   9 more (@rollup/plugin-commonjs, @rollup/plugin-json, ...)
npm warn
npm warn Could not resolve dependency:
npm warn peer rollup@"^1.20.0||^2.0.0" from @rollup/[email protected]
npm warn node_modules/rollup-plugin-sourcemaps/node_modules/@rollup/pluginutils
npm warn   @rollup/pluginutils@"^3.0.9" from [email protected]
npm warn   node_modules/rollup-plugin-sourcemaps
npm warn
npm warn Conflicting peer dependency: [email protected]
npm warn node_modules/rollup
npm warn   peer rollup@"^1.20.0||^2.0.0" from @rollup/[email protected]
npm warn   node_modules/rollup-plugin-sourcemaps/node_modules/@rollup/pluginutils
npm warn     @rollup/pluginutils@"^3.0.9" from [email protected]
npm warn     node_modules/rollup-plugin-sourcemaps

This happens because of the plugin rollup-plugin-sourcemap which hasn't been updated for 4 years.

I opened a ticket 2 years ago to bring support for Rollup 3

Since rollup 4 has been released, and people have tried to make the maintainer give access, to allow someone to help maintain it or hand over the project:

I think it's about time we opt for a modernized fork, such as the one here, which support Rollup 4 and is a drop-in replacement:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant