UNPKG

@ayan4m1/rollup-plugin-multi-input

Version:

A rollup plugin which allows 1:1 mapping of input to output files.

14 lines (13 loc) 462 B
import type { Plugin } from 'rollup'; import type FastGlob from 'fast-glob'; export type MultiInputOptions = { glob?: FastGlob.Options; relative?: string; transformOutputPath?: (path: string, fileName: string) => string; }; /** * multiInput is a rollup plugin to use multiple entry point and preserve the directory * structure in the dist folder * */ declare const multiInput: (options?: MultiInputOptions) => Plugin; export default multiInput;