Skip to content
Permalink
Browse files

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

…'env' and 'react'.
  • Loading branch information
maratbn committed Jun 24, 2018
1 parent 729c209 commit ab77c4dba397e64b696d9d6307f8ec011f7a871e
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: ['env', 'react']
}
}]
},
output: {

0 comments on commit ab77c4d

Please sign in to comment.
You can’t perform that action at this time.