Skip to content

Commit

Permalink
fix: set "useBuiltIns": false in babel config
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijithvijayan committed Jun 6, 2020
1 parent 60a58f1 commit 1dcdc6f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .babelrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
// Latest stable ECMAScript features
"@babel/preset-env",
{
"useBuiltIns": "entry",
"useBuiltIns": false,
// Do not transform modules to CJS
"modules": false,
"targets": {
Expand All @@ -20,8 +20,12 @@
],
"plugins": [
["@babel/plugin-proposal-class-properties"],
["@babel/plugin-transform-destructuring", { "useBuiltIns": true }],
["@babel/plugin-proposal-object-rest-spread", { "useBuiltIns": true }],
["@babel/plugin-transform-destructuring", {
"useBuiltIns": true
}],
["@babel/plugin-proposal-object-rest-spread", {
"useBuiltIns": true
}],
[
// Polyfills the runtime needed for async/await and generators
"@babel/plugin-transform-runtime",
Expand Down

0 comments on commit 1dcdc6f

Please sign in to comment.