nekocode / antd-dayjs-vite-plugin

A Vite port of antd-dayjs-webpack-plugin. Day.js vite plugin for Ant Design (antd).

Home Page:https://www.npmjs.com/package/antd-dayjs-vite-plugin

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm npm bundle size

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.

About

A Vite port of antd-dayjs-webpack-plugin. Day.js vite plugin for Ant Design (antd).

https://www.npmjs.com/package/antd-dayjs-vite-plugin

License:MIT License


Languages

Language:TypeScript 65.5%Language:JavaScript 13.0%Language:CSS 12.2%Language:HTML 9.3%