@lavamoat/webpack
Version:
LavaMoat Webpack plugin for running dependencies in Compartments without eval
24 lines • 815 B
TypeScript
export = LavaMoatPlugin;
declare class LavaMoatPlugin {
/**
* @param {LavaMoatPluginOptions} [options]
*/
constructor(options?: LavaMoatPluginOptions);
/** @type {CompleteLavaMoatPluginOptions} */
options: CompleteLavaMoatPluginOptions;
/**
* @param {import('webpack').Compiler} compiler The compiler instance
* @returns {void}
*/
apply(compiler: import("webpack").Compiler): void;
}
declare namespace LavaMoatPlugin {
export { LavaMoatPlugin, EXCLUDE_LOADER as exclude, LavaMoatPluginOptions };
}
import type { CompleteLavaMoatPluginOptions } from './buildtime/types';
declare const EXCLUDE_LOADER: string;
/**
* This is jsdoc for reexport
*/
type LavaMoatPluginOptions = import("./buildtime/types").LavaMoatPluginOptions;
//# sourceMappingURL=plugin.d.ts.map