| 1 | function initialize(babel) { |
| 2 | exports.init = null; |
| 3 | exports.version = babel.version; |
| 4 | exports.traverse = babel.traverse; |
| 5 | exports.types = babel.types; |
| 6 | exports.tokTypes = babel.tokTypes; |
| 7 | exports.parseSync = babel.parseSync; |
| 8 | exports.loadPartialConfigSync = babel.loadPartialConfigSync; |
| 9 | exports.loadPartialConfigAsync = babel.loadPartialConfigAsync; |
| 10 | exports.createConfigItem = babel.createConfigItem; |
| 11 | } |
| 12 | |
| 13 | if (USE_ESM) { |
| 14 | exports.init = import("@babel/core").then(initialize); |
| 15 | } else { |
| 16 | initialize(require("@babel/core")); |
| 17 | } |