These are chat archives for systemjs/systemjs

18th
Feb 2015
Flemming hansen
@gnimmelf
Feb 18 2015 12:10
Hi guys. Excellent work! Can I ask: importing a plain html file as text, import tpl from './templates/tpl.html!text' gives GET http://localhost:8080/text.js 404 (Not Found). I have done jspm install github:systemjs/plugin-text, what am I missing?
Alex
@whitecolor
Feb 18 2015 12:11
the plugin should be in /text.js
by default
alternatively you can point it in config in paths 'text': "plugin-location/text.js"
it will look up plugin here
there
Flemming hansen
@gnimmelf
Feb 18 2015 12:49
cheers!
Matthew Phillips
@matthewp
Feb 18 2015 13:34
@guybedford why did you remove es6ml as a dependency of systemjs?
systemjs/systemjs@a24648c
is this a mistake?
Guy Bedford
@guybedford
Feb 18 2015 14:10
jspm install text is the suggested way to install the plugin
@matthewp stopped supporting Bower apart from for the dev dependency on qunit
if you need it we can add it back
Matthew Phillips
@matthewp
Feb 18 2015 14:11
no, i think it's ok
unrelated, do you happen to know where the 6to5/babel runtime is now?
that file doesn't exist in their current repo
getting to the jspm update shortly
Matthew Phillips
@matthewp
Feb 18 2015 14:15
oh, external-helpers.js is it?
ok, thanks
Flemming hansen
@gnimmelf
Feb 18 2015 15:56
Hi again! import tpl from './templates/tpl.html!text' now gives Potentially unhandled rejection [2] TypeError: undefined is not a function
Flemming hansen
@gnimmelf
Feb 18 2015 16:06
Never mind, the text plugin works, my bad...
Alex
@whitecolor
Feb 18 2015 20:44
load.metadata.execute can be async?
Guy Bedford
@guybedford
Feb 18 2015 21:33
no, also it's best not to use that directly and go through one of the existing module formats by translating into modular source
Alex
@whitecolor
Feb 18 2015 21:36
load.metadata.format = 'defined'
when to use this?
and what does it do
?