rollup-plugin-sourcemaps2
Version:
Rollup plugin for grabbing source maps from sourceMappingURLs
9 lines (8 loc) • 418 B
TypeScript
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;