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

0.0.4 • Public • Published

antd-moment-webpack-plugin

A webpack plugin to replace Day.js to Moment.js automatically.

Installation

npm install --save-dev @ant-design/moment-webpack-plugin

Usage

// webpack-config.js
import AntdMomentWebpackPlugin from '@ant-design/moment-webpack-plugin';

module.exports = {
  // ...
  plugins: [new AntdMomentWebpackPlugin()],
};

Readme

Keywords

none

Package Sidebar

Install

npm i @ant-design/moment-webpack-plugin

Weekly Downloads

15,575

Version

0.0.4

License

MIT

Unpacked Size

3.48 kB

Total Files

5

Last publish

Collaborators

  • iamkun
  • afc163
  • zombiej