Skip to content

Commit

Permalink
Fix ... (spread operator) missing error.
Browse files Browse the repository at this point in the history
Babel seems to need a specific package to support the `...` operator for
now.
See: babel/babel#10179 (comment)

npm i --save-dev @babel/plugin-proposal-object-rest-spread is sufficient
as a fix.
  • Loading branch information
reykjalin committed Jul 22, 2019
1 parent 24faa5e commit 3878ca1
Show file tree
Hide file tree
Showing 2 changed files with 80 additions and 23 deletions.
102 changes: 79 additions & 23 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Expand Up @@ -29,6 +29,7 @@
"redux": "^4.0.4"
},
"devDependencies": {
"@babel/plugin-proposal-object-rest-spread": "^7.5.5",
"@woocommerce/components": "^3.1.0",
"@woocommerce/currency": "^1.1.2",
"@woocommerce/date": "^1.2.0",
Expand Down

0 comments on commit 3878ca1

Please sign in to comment.