Skip to content

Commit

Permalink
fixed objectSpread not transform
Browse files Browse the repository at this point in the history
  • Loading branch information
HillLiu committed Dec 12, 2019
1 parent 9a3a56d commit 08e4c66
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,7 @@ module.exports = function(api) {
{
regenerator: false,
useESModules: true,
version: "7.5.0",
},
],
'@babel/plugin-proposal-export-default-from',
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-atomic-molecule",
"version": "2.0.10",
"version": "2.1.0",
"description": "Atomic design in React (molecules)",
"main": "./build/cjs/src/index.js",
"module": "./build/es/src/index.js",
Expand Down Expand Up @@ -55,7 +55,7 @@
"build:es": "BABEL_ENV=es babel src -d build/es/src && BABEL_ENV=es babel ui -d build/es/ui",
"build": "npm run clean && npm run build:cjs && npm run build:es",
"test": "npm run build && mocha 'build/cjs/**/__tests__/*.js' -r jsdom-global/register",
"prepublishOnly": "npm run test && npm run build"
"prepublishOnly": "npm run test"
},
"files": [
"build",
Expand Down

0 comments on commit 08e4c66

Please sign in to comment.