vento icon indicating copy to clipboard operation
vento copied to clipboard

Vite Plugin

Open ghost opened this issue 1 year ago • 5 comments

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.

ghost avatar Apr 26 '24 21:04 ghost

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

oscarotero avatar Apr 27 '24 07:04 oscarotero

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

oscarotero avatar Apr 29 '24 21:04 oscarotero

@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.

ghost avatar May 01 '24 22:05 ghost

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.

wrapperup avatar May 04 '24 01:05 wrapperup