| 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; |