Closed serapath closed 9 years ago
I'm cool with ES6 / babelify.
KOA is not ready for wide-scale production use by virtue of the fact that it requires Node 0.11x or io.js, which both need a little more time to bake before we flock to them for prod use-cases.
I wouldn't mind that, but I'm currently using this boilerplate for production apps.
Now I've had some time to think about it, I have a good idea how to do the ES6 conversion.
See How to Use ES6 for Isomorphic JavaScript Apps for details.
Please use the prod-module-boilerplate as a guide to set up the build system and npm scripts.
@nkbt You want to tackle this?
Yes, will pick it up
Nice! \o/
:clap:
\o/
The boilerplate uses
express
, but could usekoa
instead. Or at leastbabelify
could be used as a browserify transform to already teach some es6 features?