I have a reactjs app written using ES6 standards, and I use webpack to build it. The webpack loads the js modules using <
reactjs
webpack
js
in documentation about Runtime
// in bash npm install babel-transform-runtime --save-dev // in gulpfile .pipe(babel({ plugins: ['transform-runtime'] }))
edit: better yet on heroku in prod mode use --save instead of --save-dev