ant-design / antd-moment-webpack-plugin

⏰ Replace Day.js to Moment.js webpack plugin for Ant Design

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

⏰ Replace Day.js to Moment.js webpack plugin for Ant Design

License:MIT License


Languages

Language:JavaScript 100.0%