blob: cd08afca2132af8d8395df1a7c71832570b5fdd6 [file] [log] [blame]
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: string) => void): void;
}
export default function sourcemaps({ include, exclude, readFile }?: SourcemapsPluginOptions): Plugin;