3 ms·
This sounds great... ...in the next release of npm, npm 3, deduping will be the default during the install process: modules will be lifted as far up the filesy
by jessaustin 12y ago
This sounds great...
...in the next release of npm, npm 3, deduping will be the default during the install process: modules will be lifted as far up the filesystem as possible without creating issues between conflicting modules.
To me, what's missing (and maybe this is more of a browserify transform than an npm thing) is a module that steps through all the require()s and replaces as many as it can with code to pull resources from cdnjs (or wherever). Many people wouldn't want to use that, but it would be a good option for others.