5.7.6 • Published 6 months ago

@types/loadable__webpack-plugin v5.7.6

Weekly downloads
7,346
License
MIT
Repository
github
Last release
6 months ago

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.

5.7.6

6 months ago

5.7.5

7 months ago

5.7.4

8 months ago

5.7.3

3 years ago

5.7.2

3 years ago

5.7.1

4 years ago

5.7.0

5 years ago