2.0.0 • Published 5 months ago
antd-dayjs-vite-plugin v2.0.0
A Vite port of antd-dayjs-webpack-plugin. Day.js vite plugin for Ant Design (antd).
Usage
Install via yarn add antd-dayjs-vite-plugin
.
In your vite.confg.ts
:
import { antdDayjs } from 'antd-dayjs-vite-plugin';
export default defineConfig({
plugins: [/**/, antdDayjs()],
// ...
}
Configuration
All options are the same as for antd-dayjs-webpack-plugin. Check the README of antd-dayjs-webpack-plugin for more details.