Package detail

@ant-design/moment-webpack-plugin

ant-design180.3kMIT1.0.0

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

readme

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()],
};