Closed MeirionHughes closed 8 years ago
Aurelia does dynamic System.import calls which aren't traceable when doing bundling. I believe the Aurelia bundler should tackle that though. Tracing dynamic System.import calls is something we aim to support in future via https://github.com/systemjs/builder/issues/452.
Aurelia's bundler has the same behavior; it doesn't bundle unless the import is detected. To be honest I'm surprised there isn't an option in either to bundle known dependencies; they are, after all, already defined and known by jspm. I guess I could parse .dependencies.json
, remove duplicates and make a large bundle manually.
If the support you've received on this issue has helped your project, perhaps consider leaving a tip for the maintainer.
I have installed
aurelia-bootstrapper
with jspm 0.16.31. In.dependencies.json
it has listed dependencies:if I try to bundle it:
jspm bundle aurelia-bootstrapper
it doesn't bundle all the dependencies:Is this a bug? or is there an option I'm missing? I would like to bundle everything...