Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ant-design/antd-moment-webpack-plugin
⏰ Replace Day.js to Moment.js webpack plugin for Ant Design
https://github.com/ant-design/antd-moment-webpack-plugin
Last synced: 30 days ago
JSON representation
⏰ Replace Day.js to Moment.js webpack plugin for Ant Design
- Host: GitHub
- URL: https://github.com/ant-design/antd-moment-webpack-plugin
- Owner: ant-design
- License: mit
- Created: 2022-05-18T08:41:22.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-04T12:49:55.000Z (7 months ago)
- Last Synced: 2024-12-11T10:23:42.861Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 1
- Watchers: 6
- Forks: 9
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# antd-moment-webpack-plugin
A webpack plugin to replace [Day.js](https://day.js.org/) to [Moment.js](http://momentjs.com/) automatically.
## Installation
```bash
npm install --save-dev @ant-design/moment-webpack-plugin
```## Usage
```js
// webpack-config.js
import AntdMomentWebpackPlugin from '@ant-design/moment-webpack-plugin';module.exports = {
// ...
plugins: [new AntdMomentWebpackPlugin()],
};
```