Created
September 4, 2018 21:22
-
-
Save yokada/d92f91077ee6c3c28e8caa67ac7652f0 to your computer and use it in GitHub Desktop.
Upgrade to babel 7
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ git diff .babelrc | |
diff --git a/.babelrc b/.babelrc | |
index 53b35ab..15eefa0 100644 | |
--- a/.babelrc | |
+++ b/.babelrc | |
@@ -1,16 +1,16 @@ | |
{ | |
"plugins": [ | |
"source-map-support", | |
- "transform-runtime" | |
+ "@babel/plugin-transform-runtime", | |
+ "@babel/plugin-syntax-dynamic-import" | |
], | |
"presets": [ | |
- [ "env", { "node": "8.10" } ], | |
- "stage-3" | |
+ [ "@babel/preset-env", { "node": "8.10" } ] | |
], | |
"env": { | |
"test": { | |
"presets": [ | |
- [ "env", { "targets": { "node": "8.10" } } ] | |
+ [ "@babel/preset-env", { "targets": { "node": "8.10" } } ] | |
] | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment