From e34d9507938b3402070bb5a6b99fa9b9e8c43a8c Mon Sep 17 00:00:00 2001 From: Sebastian McKenzie Date: Fri, 26 Jun 2015 01:07:54 +0100 Subject: [PATCH] require babel-core at the top of the file --- packages/babel-cli/bin/babel/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/packages/babel-cli/bin/babel/index.js b/packages/babel-cli/bin/babel/index.js index 8e89cbce1c..2ca31331ae 100755 --- a/packages/babel-cli/bin/babel/index.js +++ b/packages/babel-cli/bin/babel/index.js @@ -1,5 +1,7 @@ #!/usr/bin/env node +require("babel-core"); + var moduleFormatters = require("babel-core/lib/babel/transformation/modules"); var pathExists = require("path-exists"); var commander = require("commander");