Open redguardtoo opened 7 years ago
see https://github.com/babel/babel/blob/7.0/packages/babel-cli/src/babel/file.js#L99
and https://github.com/babel/babel/blob/7.0/packages/babel-cli/src/babel/util.js#L42
just calling babel.transform and setup some options. Now I just need figure out how to read .babelrc
babel.transform
.babelrc
NodeJS 8 does not handle this issue.
see https://github.com/babel/babel/blob/7.0/packages/babel-cli/src/babel/file.js#L99
and https://github.com/babel/babel/blob/7.0/packages/babel-cli/src/babel/util.js#L42
just calling
babel.transform
and setup some options. Now I just need figure out how to read.babelrc