brunch / deppack

Extract node modules to browser.
MIT License
4 stars 13 forks source link

Split require.alias definitions between output files #33

Closed goshacmd closed 8 years ago

goshacmd commented 8 years ago

So that aliases for main file as well as browser overrides will only be included in the file that actually contains the source file.

(Note: custom aliases set via config.npm.aliases will be included in every bundle, as these are typically module-module mappings (could be exoskeleton: backbone), not module-source file mappings.)