Skip to content

Commit

Permalink
fix: add regenerator runtime (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
VictorVelarde authored Nov 20, 2020
1 parent 674c1f5 commit 710494e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
4 changes: 4 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@
"license": "BSD-3-Clause",
"devDependencies": {
"@babel/core": "^7.12.3",
"@babel/plugin-transform-runtime": "^7.12.1",
"@babel/preset-env": "^7.12.1",
"@babel/preset-react": "^7.12.5",
"@material-ui/core": "^4.11.0",
Expand All @@ -40,5 +41,8 @@
"react-redux": "^7.2.2",
"webpack": "^5.5.0",
"webpack-cli": "^4.2.0"
},
"dependencies": {
"@babel/runtime": "^7.12.5"
}
}
3 changes: 2 additions & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ const config = {
exclude: /(node_modules)/,
loader: 'babel-loader',
options: {
presets: ['@babel/preset-env', '@babel/preset-react']
presets: ['@babel/preset-env', '@babel/preset-react'],
plugins: ['@babel/plugin-transform-runtime']
}
}
]
Expand Down

0 comments on commit 710494e

Please sign in to comment.