ventojs / vento

🌬 A template engine for Deno & Node
https://vento.js.org/
MIT License
153 stars 9 forks source link

Vite Plugin #58

Open ghost opened 2 months ago

ghost commented 2 months ago

Vite has gained significant traction as a fast and efficient build tool for modern web development projects. However, Vite currently lacks direct support for the Vento template engine.

I thought it will be great if Vento could release an official Vite plugin to seamlessly integrate the template engine into Vite-powered projects, so developers can harness the power and simplicity of Vento without the hassle of manual setup and configuration.

oscarotero commented 2 months ago

Yes, that's a great idea. I don't have experience developing Vite plugins. Do you want to help with this?

oscarotero commented 2 months ago

working on this here: https://github.com/ventojs/rollup-plugin-vento

ghost commented 2 months ago

@oscarotero, it's great you found time to work on this! :raised_hands:

I will track your progress there and see if I can help at some point.

wrapperup commented 2 months ago

Yes actually, since with has been removed, this can be integrated with rollup (since it requires strict modules by default). That was one of the original motivations for it. Also, it would be nice to expose env in a hook, or the ability to pass in plugins like a normal instance of Vento would.