Installation
npm install --save @types/loadable__webpack-plugin
Summary
This package contains type definitions for @loadable/webpack-plugin (https://github.com/smooth-code/loadable-components).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/loadable__webpack-plugin.
index.d.ts
import * as webpack from "webpack";
interface PluginOptions {
/**
* The stats filename.
*
* @default loadable-stats.json
*/
filename?: string | undefined;
/**
* Always write stats file to disk.
*
* @default false
*/
writeToDisk?: boolean | { filename: string } | undefined;
/**
* @default true
*/
outputAsset?: boolean | undefined;
}
declare class LoadablePlugin extends webpack.Plugin {
constructor(options?: PluginOptions);
}
export default LoadablePlugin;
Additional Details
- Last updated: Tue, 07 Nov 2023 09:09:38 GMT
- Dependencies: @types/webpack
Credits
These definitions were written by Spencer Miskoviak.