Files
novarix.uk/node_modules/next/dist/build/webpack/plugins/eval-source-map-dev-tool-plugin.d.ts
T
Kismet Hasanaj 39a8a128be including-modules
2026-05-03 00:14:08 +02:00

21 lines
869 B
TypeScript

import { type webpack, type SourceMapDevToolPluginOptions } from 'next/dist/compiled/webpack/webpack';
export interface EvalSourceMapDevToolPluginOptions extends SourceMapDevToolPluginOptions {
shouldIgnorePath?: (modulePath: string) => boolean;
}
export default class EvalSourceMapDevToolPlugin {
sourceMapComment: string;
moduleFilenameTemplate: NonNullable<EvalSourceMapDevToolPluginOptions['moduleFilenameTemplate']>;
namespace: NonNullable<EvalSourceMapDevToolPluginOptions['namespace']>;
options: EvalSourceMapDevToolPluginOptions;
shouldIgnorePath: (modulePath: string) => boolean;
/**
* @param inputOptions Options object
*/
constructor(inputOptions: EvalSourceMapDevToolPluginOptions);
/**
* Apply the plugin
* @param compiler the compiler instance
*/
apply(compiler: webpack.Compiler): void;
}