0.0.4 • Published 8 months ago

@ant-design/moment-webpack-plugin v0.0.4

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

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