Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vite/Rollup version #58

Open
WangHansen opened this issue Feb 9, 2021 · 4 comments
Open

Vite/Rollup version #58

WangHansen opened this issue Feb 9, 2021 · 4 comments

Comments

@WangHansen
Copy link

Hi, really appreciate the work. Just curious if it's possible to provide a vite/rollup equivalent version of the plugins as vite is getting more mature and a lot of teams start prototyping with it. Thanks.

@iamkun
Copy link
Collaborator

iamkun commented Feb 10, 2021

You can just copy the logic at present.

It's super easy, just to use alias dayjs to replace moment in your project, and add the relevant dayjs plugins.

@Cheng007
Copy link

Cheng007 commented Jul 4, 2021

So, why not just publish a vite/rollup version of 'antd-dayjs-webpack-plugin' plugin @iamkun

@nekocode
Copy link

Hey guys. I just published a vite version of this plugin on npm: antd-dayjs-vite-plugin. Hope this helps.

@nekocode
Copy link

Hey guys. I just published a vite version of this plugin on npm: antd-dayjs-vite-plugin. Hope this helps.

@iamkun Would you consider adding a link to this plugin in the README?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants