Optimizing Webpack Production Build for React + ES6 Apps
Grgur Grisogono

In the proposed Webpack config, I had to change

loaders: [‘babel’] to loader: ‘babel’

and add: query: { presets:[‘es2015’, ‘react’] }

to avoid getting a JSX parsing problem when running webpack — progress -p

Thanks for the great post ;)

A single golf clap? Or a long standing ovation?

By clapping more or less, you can signal to us which stories really stand out.