Skip to content

Commit

Permalink
Replace deprecated @babel/polyfill with regenerator-runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
mjradwin committed Aug 17, 2021
1 parent 4444ea4 commit 5fe6ec7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
},
"scripts": {
"build": "rollup -c",
"prepublish": "npm run build",
"prepare": "npm run build",
"pretest": "npm run build",
"readme": "npx jsdoc2md dist/index.js",
"test": "ava"
Expand All @@ -41,7 +41,7 @@
],
"require": [
"@babel/register",
"@babel/polyfill"
"regenerator-runtime/runtime"
],
"babel": {
"testOptions": {
Expand All @@ -56,7 +56,6 @@
"devDependencies": {
"@ava/babel": "^2.0.0",
"@babel/core": "^7.15.0",
"@babel/polyfill": "^7.12.1",
"@babel/preset-env": "^7.15.0",
"@babel/register": "^7.14.5",
"@rollup/plugin-babel": "^5.3.0",
Expand Down

0 comments on commit 5fe6ec7

Please sign in to comment.