Permalink
Browse files

Added Babel / Webpack configuration to tell Babel to use the presets …

…'es2015' and 'react'.
  • Loading branch information...
maratbn committed Jan 17, 2017
1 parent e3bde61 commit 1d3b2b61184b590bdcd0f9dc2cfb4e98c026a287
Showing with 4 additions and 1 deletion.
  1. +4 −1 webpack.config.js
@@ -11,7 +11,10 @@ module.exports = {
module: {
loaders: [{
loader: 'babel-loader',
test: /\.jsx$/
test: /\.jsx$/,
query: {
presets: ['es2015', 'react']
}
}]
},
output: {

0 comments on commit 1d3b2b6

Please sign in to comment.