Skip to content

Commit

Permalink
Properly bundle babel helpers
Browse files Browse the repository at this point in the history
Signed-off-by: Richie Bendall <richiebendall@gmail.com>
  • Loading branch information
Richienb committed Aug 26, 2020
1 parent cb62aed commit d4dbae6
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 6 additions & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,12 @@ const commonPlugins = [
}
}]
],
babelHelpers: "bundled"
plugins: [
["@babel/plugin-transform-runtime", {
regenerator: true
}]
],
babelHelpers: "runtime"
})
]

Expand Down
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
"dependencies": {
"@ampproject/rollup-plugin-closure-compiler": "^0.26.0",
"@babel/core": "^7.10.5",
"@babel/plugin-transform-runtime": "^7.11.0",
"@babel/preset-env": "^7.10.4",
"@babel/runtime": "^7.11.2",
"@rollup/plugin-babel": "^5.1.0",
"@rollup/plugin-commonjs": "^14.0.0",
"@rollup/plugin-node-resolve": "^8.4.0",
Expand Down

0 comments on commit d4dbae6

Please sign in to comment.