Skip to content

Commit

Permalink
added babel transform plugin for object assign
Browse files Browse the repository at this point in the history
  • Loading branch information
prabrishac committed Mar 3, 2021
1 parent 0a43ad8 commit bd6fe6d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"loose": true
}
],
["@babel/plugin-transform-arrow-functions"]
["@babel/plugin-transform-arrow-functions"],
["@babel/plugin-transform-object-assign"]
]
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@
"@babel/plugin-proposal-class-properties": "^7.0.0",
"@babel/plugin-proposal-optional-chaining": "^7.11.0",
"@babel/plugin-transform-arrow-functions": "^7.10.4",
"@babel/plugin-transform-object-assign": "^7.12.13",
"@babel/preset-env": "^7.6.2",
"@mediaeventservices/jest-environment-jsdom-external-scripts": "^21.2.2",
"@size-limit/preset-big-lib": "^4.4.1",
Expand Down
1 change: 1 addition & 0 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ export default {
},
],
["@babel/plugin-transform-arrow-functions"],
["@babel/plugin-transform-object-assign"]
],
}),
process.env.uglify === "true" && terser(),
Expand Down

0 comments on commit bd6fe6d

Please sign in to comment.