You'll have an easy time using browserify together with es6ify. Look at the first commit on branch with-es6ify of my example-browserify repo. Easy. Fun. Prettier javascript.

You run browserify . -o bundle.js and it transforms this:

( () => console.log('im in ur es6 havin ur bundle.js!') )()

into this:

((function() {
  return console.log('im in ur es6 havin ur bundle.js!');


Later I will try out all of the supported es6 features to make sure I understand them and find out which ones depend on the traceur runtime.

* Or browserify index.js -o bundle.js; or npm run browserify (because of what I put in scripts in package.json); or watchify . -o bundle.js if you want it to recompile automatically when the file changes; or npm run watchify. Passing --debug to either of these is good; it gives you sourcemaps so that your browser shows you the original source when errors happen.