Open techniq opened 8 years ago
If SFX, don't output the config, as it isn't necessary?
Correct, as neither is system.js. It's all self contained.
On Sun, Nov 22, 2015, 5:21 PM Oliver Joseph Ash notifications@github.com wrote:
If SFX, don't output the config, as it isn't necessary?
— Reply to this email directly or view it on GitHub https://github.com/buddhike/gulp-jspm-build/issues/8#issuecomment-158808461 .
@techniq Thanks for getting to the bottom of this. I was wondering why this happens to some users. Bunding system.js for non sfx would be a handy feature (I will no longer have to copy jspm_packages dir to build output then ;-))
BTW: What would happen if you generate many non-fx bundles? Each of them should not have systemjs and configjs right?
I bumped into this issue recently. This is what I discovered.
Will leave this issue open until we get rid of config.js from the output.
+1
Currently I'm get "System is not defined" when performing a
bundleSfx: true
because the config.js is in the pipeline. Unless I'm mistaken, should this not be the case.Semi-related, it seems like it would be useful to have system.js bundled for
buildleSfx: false
build (as long as thesystem.js
,config.js
,some-bundle.js
order was maintained?