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

[feature request] vite support #158

Open
keturn opened this issue Apr 10, 2024 · 3 comments
Open

[feature request] vite support #158

keturn opened this issue Apr 10, 2024 · 3 comments

Comments

@keturn
Copy link

keturn commented Apr 10, 2024

vite has gained a lot of ground in recent years and is now the build tool of choice for many new projects. It'd be great to support power-assert transformations with vite.

@keturn
Copy link
Author

keturn commented Apr 10, 2024

My reading has left me confused about whether vite uses babel sometimes or optionally or with certain plugins. I opened a question about this on the vite discord but haven't heard back.

I also stumbled across what appears to be code for power-assert plugins for esbuild and rollup (tools which vite builds on)… but twada has not published them yet. https://github.com/twada/power-assert-monorepo/tree/main/packages

@twada
Copy link
Member

twada commented Apr 11, 2024

@keturn Thank you for your feature request. Okay I'll publish rollup4 and vitest integration from my experimental new repository https://github.com/twada/power-assert-monorepo/tree/main/packages

@twada
Copy link
Member

twada commented Apr 25, 2024

@keturn FTI: just released rollup-plugin-power-assert 0.1.0
https://www.npmjs.com/package/rollup-plugin-power-assert

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

2 participants