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

1.2.6 • Public • Published

Installation

npm install --save @types/moment-locales-webpack-plugin

Summary

This package contains type definitions for moment-locales-webpack-plugin (https://github.com/iamakulov/moment-locales-webpack-plugin).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/moment-locales-webpack-plugin.

index.d.ts

/// <reference types="node" />
import { ContextReplacementPlugin } from "webpack";

declare class MomentLocalesPlugin extends ContextReplacementPlugin {
    constructor(options?: {
        /** Ignore invalid or unsupported locales in `localesToKeep`. */
        ignoreInvalidLocales?: boolean | undefined;
        /** An array of locales to keep bundled (other locales are removed). */
        localesToKeep?: string[] | undefined;
    });
}

export = MomentLocalesPlugin;

Additional Details

Credits

These definitions were written by Ciarán Ingle.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/moment-locales-webpack-plugin

Weekly Downloads

21,863

Version

1.2.6

License

MIT

Unpacked Size

3.9 kB

Total Files

5

Last publish

Collaborators

  • types