cli icon indicating copy to clipboard operation
cli copied to clipboard

Vite instead of webpack

Open dephiros opened this issue 4 years ago • 1 comments

I think Marko serve is currently based on webpack. Is there plan to support vite instead?

dephiros avatar Oct 25 '21 12:10 dephiros

We are considering it. There are some concerns still being addressed. Probably the most notable one is https://github.com/vitejs/vite/discussions/4230. CommonJS files can't be imported from Marko templates which is awkward for legacy parts of the ecosystem.

Outside of a few other small things Vite has been working pretty nicely so we definitely see benefit of using it for something like Marko Serve.

ryansolid avatar Oct 25 '21 15:10 ryansolid