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

Compared with vite-node & vite-plugin-node #15

Open
u3u opened this issue Mar 30, 2023 · 2 comments
Open

Compared with vite-node & vite-plugin-node #15

u3u opened this issue Mar 30, 2023 · 2 comments

Comments

@u3u
Copy link

u3u commented Mar 30, 2023

Hi, can you consider comparing them? 🤔

https://www.npmjs.com/package/vite-node
https://www.npmjs.com/package/vite-plugin-node

@privatenumber
Copy link
Owner

I'm not sure if I'd consider those TypeScript runtimes.

vite-node even spawns a server: https://github.com/vitest-dev/vitest/blob/326b242d8a7798b517c1c8de93321a983fc4ef09/packages/vite-node/src/cli.ts#L61

It seems more like tooling made for Vite-related development:

Based on @pi0's brilliant idea of having a Vite server as the on-demand transforming service for nuxt/vite#201.

@drewbitt
Copy link

drewbitt commented Feb 6, 2024

Vite-node is still often used for the purpose of running files but respecting the vite config. I would vote to include it.

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

3 participants