5.7.6 • Published 6 months ago
@types/loadable__webpack-plugin v5.7.6
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
// Type definitions for @loadable/webpack-plugin 5.7
// Project: https://github.com/smooth-code/loadable-components
// Definitions by: Spencer Miskoviak <https://github.com/skovy>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7
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, 06 Jul 2021 22:02:42 GMT
- Dependencies: @types/webpack
- Global values: none
Credits
These definitions were written by Spencer Miskoviak.