I'd like to compile ES6 at runtime during development of an angularjs app. I can run traceur before http-server starts up but this is tedious during development.
How do I set this up?
PS: I'm not using grunt at this stage. I think I might need to.
I'd like to compile ES6 at runtime during development of an angularjs app. I can run traceur before http-server starts up but this is tedious during development.
How do I set this up?
PS: I'm not using grunt at this stage. I think I might need to.
I ended up using traceur.require, NodeApi , and [mocha-traceur] https://github.com/tucksen/mocha-traceur) on node side, haven't tried on the browser yet. browserify should work or simply set compiler options to AMD?.
Have a look at SystemJS and ES6ModuleLoader, Also practical-workflows, very informative and inspiring
Maps support at traceur-source-maps Or the already packaged maps-support
A little bit out of topic... Another source of inpiration is ATScript playground , is transpiling , not on the fly