This setup involves using webpack and several loaders to transform JSX/ES 2015 to ES5 code. By using webpack JavaScript modules can be loaded using ES 2015 module format (commonJS behind the scenes), properly transformed, then bundled. -
View it on GitHub