/** * SPDX-FileCopyrightText: 2023 Ferdinand Thiessen * * SPDX-License-Identifier: EUPL-1.2 */ import type * as webpack from "webpack"; interface Options { /** CoreJS modules to use, defaults to 'core-js/es' */ modules?: string | readonly string[] | readonly RegExp[]; /** CoreJS modules to exclude */ exclude?: string | readonly string[] | readonly RegExp[]; /** Overide browserslist targets */ targets?: string | readonly string[] | Record; /** Add comment with used modules within bundle */ summary?: { size: boolean; modules: boolean; }; } export declare class CoreJSPlugin { private readonly options; constructor(options?: Options); apply(compiler: webpack.Compiler): void; } export {};