@ant-design/moment-webpack-plugin
v1.0.0
Published
A webpack plugin to replace [Day.js](https://day.js.org/) to [Moment.js](http://momentjs.com/) automatically.
Downloads
66,551
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()],
};