UNPKG

lbundle

Version:

Small zero-configuration bundler build on top of Rollup.js and SWC for NPM libraries

21 lines (20 loc) 577 B
import type { OutputOptions } from 'rollup'; import type { OptimalPkgModel } from './optimal-pkg'; import type { OptionsModel } from './options'; export type ContextModel = { baseOptions: Partial<OptionsModel>; options: OptionsModel; globalName: string; pkgPath: string; pkg: OptimalPkgModel; swcPath?: string; tsconfigPath?: string; isModule: boolean; resolvedSource?: string; resolvedBinSource?: string; isTs: boolean; isJsx: boolean; libOutputs: OutputOptions[]; binOutput?: OutputOptions; cssFilename: string; };