#Plugin within a plugin not working
1 messages · Page 1 of 1 (latest)
your plugin can return a list of plugins like shown in https://vitejs.dev/guide/api-plugin.html#plugins-config
1 messages · Page 1 of 1 (latest)
I have a custom vite plugin that uses vite-plugin-node-polyfills which doesn't seem to work/register. However, in repo the uses my plugin and defines vite-plugin-node-polyfills in vite.config.js, it works. Is there a way to make it work in my plugin so a user doesn't need to add it themself?
your plugin can return a list of plugins like shown in https://vitejs.dev/guide/api-plugin.html#plugins-config