This reverts commit 033681af8941d9678961f985c13e500c3c70f337, reversing changes made to a2d66c0fc8ee58e82be3efd59173803e66dee3e0. I brought you into this world, and I can take you out.
babel-core
Babel compiler core.
Install
$ npm install babel-core
Usage
import babel from 'babel-core';
const code = `class Example {}`;
const result = babel.transform(code, { /* options */ });
result.code; // Generated code
result.map; // Sourcemap
result.ast; // AST
For more in depth documentation see: http://babeljs.io/docs/usage/api/