# @types/moment-locales-webpack-plugin

> TypeScript definitions for moment-locales-webpack-plugin

Latest version **1.2.6** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/moment-locales-webpack-plugin
pnpm add @types/moment-locales-webpack-plugin
yarn add @types/moment-locales-webpack-plugin
bun add @types/moment-locales-webpack-plugin
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.2.6 |
| Published | 2023-11-07 |
| First published | 2020-07-21 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 3 |
| Unpacked size | 3.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51433 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/moment-locales-webpack-plugin
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/moment-locales-webpack-plugin
- npm.io page: https://npm.io/package/@types/moment-locales-webpack-plugin

## Dependencies (3)

- [tapable](https://npm.io/package/tapable.md) ^2.2.0
- [webpack](https://npm.io/package/webpack.md) ^5
- [@types/node](https://npm.io/package/@types/node.md) *

## Recent versions

- 1.2.6 (latest) — 2023-11-07
- 1.2.3 (ts3.8) — 2022-02-14
- 1.2.2 (ts3.7) — 2021-07-08
- 1.2.0 (ts3.0) — 2020-07-21
- 1.2.5 — 2023-10-18
- 1.2.4 — 2023-09-27
- 1.2.1 — 2021-03-25

## README

# 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](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/moment-locales-webpack-plugin/index.d.ts)
````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](https://npmjs.com/package/@types/node), [tapable](https://npmjs.com/package/tapable), [webpack](https://npmjs.com/package/webpack)

# Credits
These definitions were written by [Ciarán Ingle](https://github.com/inglec-arista).

---
_Source: https://npm.io/package/@types/moment-locales-webpack-plugin · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
