Replies: 1 comment
-
Thanks for the suggestion! I’m a big fan of Vite, and I’d be open to writing a plugin, but I’m not sure if the workflow would be viable for many setups. Vite plugins require a 1:1 relationship. A Vite plugin would let you import your Alternatively, if the Vite plugin tried to assume output for all current Cobalt plugins, it would probably not work as expected, since other Vite plugins would fight for control (see Rollup’s There’s also other plugins like Tailwind that couldn’t operate as part of the normal Vite pipeline, either. But maybe you envision something different? If you’ve developed Rollup/Vite plugins before and are describing something different, would love feedback / open to other suggestions. |
Beta Was this translation helpful? Give feedback.
-
Hello,
I would like to set up this inside my tool chain using vite. However looking at the code it feel like I would have to rewrite most of the cli logic to parse config and apply plugin.
Is there a better way to use cobalt from node code?
Beta Was this translation helpful? Give feedback.
All reactions