lingjing/node_modules/next/dist/build/webpack/plugins/eval-source-map-dev-tool-plugin.d.ts
2026-02-23 09:51:43 +00: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;
}