diff --git a/templates/common/_webpack.config.js b/templates/common/_webpack.config.js index 4657cba..93f550f 100644 --- a/templates/common/_webpack.config.js +++ b/templates/common/_webpack.config.js @@ -38,7 +38,7 @@ module.exports = { }], loaders: [{ test: /\.jsx$/, - loader: 'react-hot!jsx-loader?harmony' + loader: 'react-hot!<% if (es6) { %>6to5!<% }%>jsx-loader?harmony' },<% if (stylesLanguage === 'sass') { %> { test: /\.sass/, loader: 'style-loader!css-loader!sass-loader?outputStyle=expanded'