Wednesday 27 March 2019

How to install latest major version of package via NPM

Is there a shortcut I can take to install the latest version of a specific major version of a package via NPM?For example, if I want to install webpack 3, npm install webpack@3 would only install webpack 3.0.0.How would I make it install the latest major one? (in this case: webpack 3.12.0)

Submitted March 28, 2019 at 05:08AM by Richienb

No comments:

Post a Comment