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
…'env' and 'react'.
  • Loading branch information
maratbn committed Aug 5, 2018
1 parent 97eaeea commit 93e2130
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion webpack.config.js
Expand Up @@ -12,7 +12,10 @@ module.exports = {
rules: [{
test: /\.jsx$/,
use: [{
loader: 'babel-loader'
loader: 'babel-loader',
options: {
presets: ['env', 'react']
}
}]
}]
},
Expand Down

0 comments on commit 93e2130

Please sign in to comment.