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
- Last updated: Tue, 07 Nov 2023 09:09:39 GMT
- Dependencies: @types/node, tapable, webpack
Credits
These definitions were written by Ciarán Ingle.