These are chat archives for systemjs/systemjs

13th
May 2016
Sergi Dote Teixidor
@sergidt
May 13 2016 09:44
hi mates how are you?
Tolis Christomanos
@chchrist
May 13 2016 09:48
Hello, I’m using jspm bundle js/**/* - [js/**/*] path\to\bundle.js to bundle all my third party dependencies. But that includes my hbs templates too. How can I avoid this?
Ben Sandwick
@ben657
May 13 2016 10:06
Wondering the same thing here @chchrist
niabot
@niabot
May 13 2016 10:07
Can't you subtract something like [/js/**/*.hbs]?
jpsm bundle js/**/* - [js/**/*] - js/**/*.hbs path/to/bundle.js
Tolis Christomanos
@chchrist
May 13 2016 10:59
@niabot nope it includes the hbs files for some reason
maybe is because I’m using a plugin that precompiles them?
js/Tickets/views/templates/DetailsView.hbs!github:davis/plugin-hbs@1.1.0.js
Ben Sandwick
@ben657
May 13 2016 11:19
@niabot @chchrist i've had more luck, but got one stubborn json file that won't leave even though the rest have
builder.bundle('src/app/**/*.js - ([src/app/**/*.js] + src/app/**/*.json! + src/app/**/*.scss!)', globs.srcFolder + 'thirdparty.js')
works for me now, removing my sass and json files
Anatol Ulrich
@spookyvision
May 13 2016 12:38
@chchrist: can you by any chance share some insight into hbs precompilation? I want to customize it
Tolis Christomanos
@chchrist
May 13 2016 12:40
nothing special. I;m just using this plugin https://github.com/davis/plugin-hbs
Anatol Ulrich
@spookyvision
May 13 2016 12:47
I'm using that too but for some reason it breaks for me ... bundled app tries to load file:/// urls
hm
Tolis Christomanos
@chchrist
May 13 2016 13:00
check your config. are the bundles there?
Tolis Christomanos
@chchrist
May 13 2016 13:05
@ben657 thnx! this worked for me jspm bundle 'js/**/* - ([js/**/*] + js/**/*.hbs!)' tests/test.js
Tolis Christomanos
@chchrist
May 13 2016 13:12
no, I was wrong the hbs templates are still in the bundle...
Tolis Christomanos
@chchrist
May 13 2016 16:36
lol, it actually works, caching issues
Juana Mango
@CoderMonkies
May 13 2016 17:43
does anyone know of a decent example of a project using systemJS and express?
Carlos Castaño
@calbertts
May 13 2016 20:09
Have anyone else worked with SystemJS and transform-decorators-legacy (babel plugin), I haven't been able to figure out how to make them work together.