Skip to content

Commit

Permalink
transform babel runtime
Browse files Browse the repository at this point in the history
  • Loading branch information
zhaoyao91 committed Sep 24, 2019
1 parent 920d323 commit 4ed643e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .babelrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"presets": ["@babel/preset-react", "@babel/preset-env"]
"presets": ["@babel/preset-react", "@babel/preset-env"],
"plugins": ["@babel/plugin-transform-runtime"]
}
4 changes: 3 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-bootstrap-image-cropper",
"version": "0.2.2",
"version": "0.2.3",
"description": "Select, crop, preview, edit, all in one!",
"keywords": [
"react-bootstrap",
Expand All @@ -20,6 +20,7 @@
"homepage": "https://zhaoyao91.github.io/react-bootstrap-image-cropper",
"license": "MIT",
"peerDependencies": {
"@babel/runtime": "^7.6.0",
"react": "^16.8.3",
"react-bootstrap": "^1.0.0-beta.10"
},
Expand All @@ -30,6 +31,7 @@
"devDependencies": {
"@babel/cli": "^7.6.0",
"@babel/core": "^7.6.0",
"@babel/plugin-transform-runtime": "^7.6.0",
"@babel/preset-env": "^7.6.0",
"@babel/preset-react": "^7.0.0",
"gh-pages": "^2.1.1",
Expand Down

0 comments on commit 4ed643e

Please sign in to comment.