-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Try using bundledDependencies #41
Conversation
Numbers on my machine:
Bundled deps win in all cases, sometimes significantly (cold npm@2). If we have any issues we’ll revert this. |
Hello! I have checked bundledDependencies thing again and got quite different results: React-scripts@0.6.1 installation time
Then I created a fork,
The installation with npm2 is faster with bundled deps, but not for npm3.
|
The main point was to speed up cold on npm 2 because that's going to be first people's experience with CRA for the currently stable Node version. |
Good point but now it seems unfair, when people who want to use the latest version have to suffer, because of some people who still use the previous version and there some tricks for them. |
We plan to drop npm 2 support in the future. When we do so, we can re-evaluate this choice. |
Node 6 will be released as the next LTS on October 18 if everything goes to plan. It ships with npm3 by default, so it seems reasonable to focus more on performance with npm3. |
Oh, that's awesome. We'll be happy to switch rightafter that. |
@gaearon will that 👆 fix this 👉 kitze#13 ? As explained here it's a problem with bundledDependencies. |
Hot off the press: tested with yarn.
These numbers are so small, so now I don't actually care about bundledDependencies tradeoffs, I am going to just use Yarn. |
Alternative approach to shrinkwrap, as suggested in #14 (comment) and ionic-team/ionic-cli#636.