webpack-delete-sourcemaps-plugin
Version:
Webpack plugin to delete sourcemaps files at the end of the build
15 lines (14 loc) • 531 B
TypeScript
import type { Compiler, WebpackPluginInstance } from 'webpack';
interface ConstructorProps {
isServer: boolean | null;
keepServerSourcemaps: boolean | null;
silent: boolean | null;
}
export declare class DeleteSourceMapsPlugin implements WebpackPluginInstance {
readonly isServer: boolean | null;
readonly keepServerSourcemaps: boolean | null;
readonly silent: boolean | null;
constructor({ isServer, keepServerSourcemaps, silent }?: ConstructorProps);
apply(compiler: Compiler): void;
}
export {};