-
Notifications
You must be signed in to change notification settings - Fork 47.6k
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
update rollup-plugin-node-resolve to 3.0.0 #12076
Comments
I don’t understand what you are trying to do. React’s build dependencies should not affect React users in any way. |
@gaearon we are building react from source (from github tarballs). Every package in debian main should be built from its source using tools available in debian. We like to keep only one version of a library/tool in debian and we already have a newer version of rollup-plugin-node-resolve (as an extreme measure we can include multiple versions, but we try to avoid it). |
That doesn't sound very sustainable to me. Even if we fix this outdated dependency, eventually we're bound to have more. In npm world, dependencies are meant to be per-package and isolated. In any case, we're happy to take a PR updating this particular dep. But we won't be working ourselves on this in the near future. The removal of |
@Gaeron I agree it is indeed a lot of work. In many cases we send pr upstream to keep the dependencies in sync. But we think the effort is worth to give a language-agnostic uniform interface to managing all applications in the system (just apt for every software). It actually bridging two diverging cultures. I have been able to build it by just commenting out the skip option, though it prints a lot of warnings now. https://salsa.debian.org/js-team/node-react/blob/master/debian/patches/no-skip-node-resolve.patch I will see if I can improve it and add external option to rollup. I'm not very familiar with rollup, so it may take some time. |
I'm going to close as we won't be specifically working on this. But happy to take a PR. |
Hey @pravi can you mentor on this issue? |
@juggernaut451 Just edit package.json file and update rollup-plugin-node-resolve to 3.0 and run build. We need to fix the failure. You can look at the PR linked here to get an idea. |
@pravi can you have a look at |
Do you want to request a feature or report a bug?
feature
What is the current behavior?
Just update rollup-plugin-node-resolve to 3.0.0
What is the expected behavior?
We'd like to use rollup-plugin-node-resolve 3.0 in debian. We are packaging react as a dependency of gitlab 9.5 (so apt-get install gitlab works to setup a gitlab server). pr that removed this option rollup/rollup-plugin-node-resolve#90
Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?
It is not dependent on react version, only its build dependency.
The text was updated successfully, but these errors were encountered: