Traceur Compiler (Atma Plugin)
with proper stacktrace support
The Plugin extends:
IncludeJS
with a custom loaderatma-io
with a custom middleware to read ES6 filesatma-server
andAtma Toolkit
with aHTTPHandler
to serve compiled sources (with sourceMap support)
How to use
Embed into the Project
-
atma plugin install atma-loader-traceur
This adds
atma-loader-traceur
npm dependency and thepackage.json
would look like: -
That's all. Now, you are ready to use the 'next javascript' in your project
Quick Try
-
install atma:
$ npm install atma -g
-
install plugin:
$ atma plugin install atma-loader-traceur
-
add
test.html
to the directory -
add
test.es6
; -
start the server:
$ atma server
-
open the browser:
http://localhost:5777/test.html
The MIT License