@visulima/packem
Version:
A fast and modern bundler for Node.js and TypeScript.
10 lines (9 loc) • 321 B
TypeScript
import type { Pail } from "@visulima/pail";
import type { Plugin } from "rollup";
export interface CJSInteropOptions {
addDefaultProperty?: boolean;
}
export declare const cjsInteropPlugin: ({ addDefaultProperty, logger, type, }: {
logger: Pail;
type: "commonjs" | "module";
} & CJSInteropOptions) => Plugin;