Permalink
Browse files

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

…'env' and 'react'.
  • Loading branch information...
maratbn committed Jun 27, 2018
1 parent 97eaeea commit 93e21306de0932b0fecd4fd6b2a98c147024cd09
Showing with 4 additions and 1 deletion.
  1. +4 −1 webpack.config.js
@@ -12,7 +12,10 @@ module.exports = {
rules: [{
test: /\.jsx$/,
use: [{
loader: 'babel-loader'
loader: 'babel-loader',
options: {
presets: ['env', 'react']
}
}]
}]
},

0 comments on commit 93e2130

Please sign in to comment.