Skip to content

Commit

Permalink
Added Babel / Webpack configuration to tell Babel to use the presets …
Browse files Browse the repository at this point in the history
…'es2015' and 'react'.
  • Loading branch information
maratbn committed Jan 18, 2017
1 parent e3bde61 commit 1d3b2b6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ module.exports = {
module: {
loaders: [{
loader: 'babel-loader',
test: /\.jsx$/
test: /\.jsx$/,
query: {
presets: ['es2015', 'react']
}
}]
},
output: {
Expand Down

0 comments on commit 1d3b2b6

Please sign in to comment.