@types/loadable__webpack-plugin
TypeScript icon, indicating that this package has built-in type declarations

5.7.6 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/loadable__webpack-plugin

Weekly Downloads

13,714

Version

5.7.6

License

MIT

Unpacked Size

3.84 kB

Total Files

5

Last publish

Collaborators

  • types