UNPKG

@wessberg/cjs-to-esm-transformer

Version:

A Custom Transformer for Typescript that transforms Node-style CommonJS to tree-shakeable ES Modules

11 lines 359 B
import { CjsToEsmOptions } from "./cjs-to-esm-options-e8306e53"; import { TS } from "./type-8c3839f0"; /** * CustomTransformer that converts CommonJS to tree-shakeable ESM * * @param [options] * @returns */ declare function cjsToEsm(options?: CjsToEsmOptions): TS.CustomTransformers; export { cjsToEsm }; //# sourceMappingURL=cjs-to-esm-c26ce240.d.ts.map