cloverfield-tools / universal-react-boilerplate

A simple boilerplate Node app.
MIT License
904 stars 97 forks source link

Use ES6 and core-js with Babel #19

Closed serapath closed 9 years ago

serapath commented 9 years ago

The boilerplate uses express, but could use koa instead. Or at least babelify could be used as a browserify transform to already teach some es6 features?

ericelliott commented 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.

ericelliott commented 9 years ago

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.

ericelliott commented 9 years ago

@nkbt You want to tackle this?

nkbt commented 9 years ago

Yes, will pick it up

ericelliott commented 9 years ago

Nice! \o/

:clap:

nkbt commented 9 years ago

34 Done

ericelliott commented 9 years ago

\o/