-
Notifications
You must be signed in to change notification settings - Fork 117
Supporting npm packages #456
Comments
With the change @stephenmathieson has made in duojs/package#37, I think we should just add a proper npm provider. The above sounds brittle, especially if you use multiple npm packages. |
Would this address building nested dependencies? The browserify CDN automatically builds all the dependencies and bundles them. |
Wouldn't each npm package included have it's entire dependency tree bundled? Imagine I include 2 npm modules that have overlapping dependencies, wouldn't it duplicate a lot since each package would be bundled independently? |
Not necessarily. iirc NPM prunes the dependencies and will move them up a
|
One simple (but not most efficient) way to support NPM packages would be to use the browserify CDN (with standalone), run derequire on it, then re-wrap in Duo.
The text was updated successfully, but these errors were encountered: