These are chat archives for systemjs/systemjs

15th
May 2015
Jon Stevens
@lookfirst
May 15 2015 00:19
Hello everyone! =) I’ve got what feels like a catch-22 situation. I’d like to put system.js at the top of my app bundle so that I can load it as a single file ala the SFX solution. But, the catch-22 is that I’d also like to configure System.cacheBust too so that all my resources automatically get the cacheBust added to the query string on System.import(). The problem is that System won’t be available in the page until after system.js loads. Any thoughts?
Jaeyoung Lee
@jeyraof
May 15 2015 03:32
I have doubt that babel was not loaded..
Please tell me about it? how can i do?
Guy Bedford
@guybedford
May 15 2015 11:37
@jeyraof by default SystemJS disables jsx support
add babelOptions.blacklist: [] to the config.js file to re-enable it
@lookfirst can you not just have the concat order as system.js, cacheBust.js, bundle.js?
Jaeyoung Lee
@jeyraof
May 15 2015 11:42
thanks a lot @guybedford
Paul Grenier
@AutoSponge
May 15 2015 15:40
Does anyone know if you can use a plugin in a system.config "path"? For instance: system.config({paths: "partials/*": "path/to/partials/*.html!text"})
Guy Bedford
@guybedford
May 15 2015 16:53
@AutoSponge it can work in map config but not paths config, so not for wildcards unfortunately
this type of functionality of plugins for wildcard paths is coming in the next systemjs though
Eric Eastwood
@MadLittleMods
May 15 2015 17:07
Paul Grenier
@AutoSponge
May 15 2015 18:29
thanks!