Skip to content

Commit

Permalink
Modified 'webpack.config.js' to add support for the yet-not-entirely-…
Browse files Browse the repository at this point in the history
…approved spread '...' syntax.
  • Loading branch information
maratbn committed Aug 5, 2018
1 parent 4311b26 commit 891b4ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ module.exports = {
use: [{
loader: 'babel-loader',
options: {
presets: ['env', 'react']
presets: ['env', 'react'],
plugins: ['transform-object-rest-spread']
}
}]
}]
Expand Down

0 comments on commit 891b4ea

Please sign in to comment.