Live data from Hacker News

Vite+ Beta

voidzero.dev

1–10 of 163 posts

Re: Vite+ Beta

#4

Can it be used for Node builds or browser-only same as Vite?

It uses Vite so the same limitations as Vite. However, I have been using Vite for my NestJS servers without any problem with `vite-plugin-node`. See example at https://github.com/leosuncin/nest-vite-example/blob/master/v...

Re: Vite+ Beta

#5

Can it be used for Node builds or browser-only same as Vite?

I'm always curious of the use case when someone proposes Node code bundling. What's the advantage? Obfuscation in SEA?

Running typescript without compilation is still tricky with plain Node. `vite dev` has amazing DX not available for Node programs. I'm wondering if Vite+ tackles this problem.

Re: Vite+ Beta

#6

Earlier quoted context omitted.

I'm always curious of the use case when someone proposes Node code bundling. What's the advantage? Obfuscation in SEA?

Running typescript without compilation is still tricky with plain Node. `vite dev` has amazing DX not available for Node programs. I'm wondering if Vite+ tackles this problem.

Don't we have `tsx` and `nodemon` (or the native Node reloader) for that? What are the DX gaps you see on the server side out of on-the-fly transpilation and reload on watch?

Re: Vite+ Beta

#7
Is there a subscription with this?

I'm just wary about anything with a '+' and I assume there is a subscription attached to it.

Looking at this it doesn't look like it.

Re: Vite+ Beta

#8

Is there a subscription with this? I'm just wary about anything with a '+' and I assume there is a subscription attached to it. Looking at this it doesn't look like it.

Says:

"It is fully open source under the MIT license"

Re: Vite+ Beta

#9
I have removed vite because dev build and reload is noticable slower than just esbuild and browser refresh. Vite does nothing for me that an LLM can not just trivially rebuild in a bespoke manner.

YMMV

Re: Vite+ Beta

#10

Can it be used for Node builds or browser-only same as Vite?

I'm always curious of the use case when someone proposes Node code bundling. What's the advantage? Obfuscation in SEA?

In my experience the bundling isn’t really the important aspect (though it also doesn’t harm anything), it’s more just having an ecosystem of plugins for code transpiling, static asset inclusion (e.g. text files) etc and a configuration format folks are already used to.
Post reply on HN