jspm / project

Roadmap and management repo for the jspm project
161 stars 8 forks source link

Include traceur in depcache? #30

Closed letmaik closed 9 years ago

letmaik commented 9 years ago

I added a depcache config which I use together with the JSPM CDN at http://reading-escience-centre.github.io/leaflet-coverage/ (ignore any errors, just look at the network tab). It works quite well, however I see that traceur kind of blocks before the bulk gets loaded. Is it possible to somehow load traceur in parallel as well?

timing

guybedford commented 9 years ago

You shouldn't be loading Traceur itself in production as that would mean production transpilation. Let me know if you have any questions about converting ES6 when not bundling.

letmaik commented 9 years ago

Just found this post from you which explains this nicely: https://github.com/jspm/jspm-cli/issues/872#issuecomment-114946729 I'll close this since optimizing for that case (transpilation in production) would be a waste of time I think.