/*! * Copyright (c) Microsoft Corporation and contributors. All rights reserved. * Licensed under the MIT License. */ import type Webpack from "webpack"; export interface BannedModule { /** The package name of the module that should not appear in the bundle */ moduleName: string; /** The reason to ban the module */ reason: string; } export interface BannedModulesPluginOptions { bannedModules: BannedModule[]; } /** * Webpack plugin that enforces that certain modules are not included in any chunk of a webpack bundle */ export declare class BannedModulesPlugin { private readonly options; constructor(options: BannedModulesPluginOptions); apply(compiler: Webpack.Compiler): void; } //# sourceMappingURL=bannedModulesPlugin.d.ts.map