blob: 4a03a1399606ac18b42701e734770259e0bb4df3 [file]
import { type CreateFilter } from '@rollup/pluginutils';
import type { Plugin } from 'rollup';
export interface SourcemapsPluginOptions {
include?: Parameters<CreateFilter>[0];
exclude?: Parameters<CreateFilter>[1];
readFile?(path: string, callback: (error: Error | null, data: Buffer | string) => void): void;
}
export default function sourcemaps({ include, exclude, readFile }?: SourcemapsPluginOptions): Plugin;