Skip to content

Commit

Permalink
Remove babel polyfill dependency of babel-node (babel#10429)
Browse files Browse the repository at this point in the history
  • Loading branch information
bdwain authored and nicolo-ribaudo committed Sep 10, 2019
1 parent 32e8f1f commit 554b87a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Expand Up @@ -19,11 +19,12 @@
"compiler"
],
"dependencies": {
"@babel/polyfill": "^7.6.0",
"@babel/register": "^7.6.0",
"commander": "^2.8.1",
"core-js": "^3.2.1",
"lodash": "^4.17.13",
"node-environment-flags": "^1.0.5",
"regenerator-runtime": "^0.13.3",
"v8flags": "^3.1.1"
},
"peerDependencies": {
Expand Down
3 changes: 2 additions & 1 deletion src/_babel-node.js
Expand Up @@ -5,7 +5,8 @@ import path from "path";
import repl from "repl";
import * as babel from "@babel/core";
import vm from "vm";
import "@babel/polyfill";
import "core-js/stable";
import "regenerator-runtime/runtime";
import register from "@babel/register";

import pkg from "../package.json";
Expand Down

0 comments on commit 554b87a

Please sign in to comment.