aleclarson / cara

UNMAINTAINED - see https://github.com/aleclarson/cush
MIT License
0 stars 0 forks source link

Add a plugin for sub-bundles #15

Open aleclarson opened 6 years ago

aleclarson commented 6 years ago

Bundle-ception, a bundle within a bundle, but no module system. When a package uses the "sub-bundle" plugin, all of its modules are combined into a single module. Each module will always appear above its parent modules. The modules which are only imported by an outside module will appear in the order they were imported. Duplicate require calls and import statements would need to be stripped, so the package can still be developed as if it's not being combined into a single module.