1.2.6 • Published 6 months ago
@types/moment-locales-webpack-plugin v1.2.6
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
// Type definitions for moment-locales-webpack-plugin 1.2
// Project: https://github.com/iamakulov/moment-locales-webpack-plugin
// Definitions by: Ciarán Ingle <https://github.com/inglec-arista>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
// TypeScript Version: 3.7
/// <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: Mon, 14 Feb 2022 19:31:25 GMT
- Dependencies: @types/webpack, @types/node
- Global values: none
Credits
These definitions were written by Ciarán Ingle.