@wessberg/cjs-to-esm-transformer
Version:
A Custom Transformer for Typescript that transforms Node-style CommonJS to tree-shakeable ES Modules
10 lines • 389 B
TypeScript
import { ResolveOptions } from "./resolve-path-df6b3de9";
import { TS } from "./type-8c3839f0";
interface CjsToEsmOptions {
typescript?: typeof TS;
debug?: boolean | string | ((file: string) => boolean);
readFile?: ResolveOptions["readFile"];
fileExists?: ResolveOptions["fileExists"];
}
export { CjsToEsmOptions };
//# sourceMappingURL=cjs-to-esm-options-e8306e53.d.ts.map