3 ms·
How does it work with shared dependencies? Does each direct npm dependency get bundled with its own copy of each shared dependency, or do those get re-wired to
by _bxg1 6y ago
How does it work with shared dependencies? Does each direct npm dependency get bundled with its own copy of each shared dependency, or do those get re-wired to point to a shared module?
- elpool2 6y agoI haven't run into it yet so I'm not sure about this, but I believe it does have a way to combine shared dependencies into a single shared js file.
- dgoldstein0 6y agoUnder the hood it's using rollup. So it's benefiting from rollup's code splitting for those cases.