mirror of
https://github.com/hanzoai/babel.git
synced 2026-09-24 16:56:45 +00:00
13 lines
313 B
JavaScript
13 lines
313 B
JavaScript
import _cjs from "./lib/index.js";
|
|
const cjs = _cjs.default || _cjs;
|
|
|
|
const adapter = cjs.bind();
|
|
|
|
// For backward compatibility with the CJS-only version, this makes
|
|
// import _x from "@babel/helper-plugin-test-runner"
|
|
// const x = _x.default
|
|
// still work.
|
|
adapter.default = cjs;
|
|
|
|
export default adapter;
|