vite-plugin-node icon indicating copy to clipboard operation
vite-plugin-node copied to clipboard

feat: added rollupOptions to config for overriding them

Open alyssa-murati opened this issue 9 months ago • 2 comments

Hey all,

Simple PR here to add rollupOptions to just override input and output - there's a lot of case by case need for these options such as splitting module entries for other purposes.

Please any suggestions to make it better.

Thanks

alyssa-murati avatar Mar 31 '25 08:03 alyssa-murati

Thanks for your contribution, Can you also add some docs to the readme file?

axe-me avatar Apr 14 '25 18:04 axe-me

I believe you can simply append your rollupOptions to the root vite config. Vite will respect your config and merge all the configs.

axe-me avatar Jul 02 '25 06:07 axe-me