[Feature]: Allow appendTo as an array or glob pattern
Hi, I'm currently working with a Laravel Inertia setup and I'm using a multi build setup. Meaning that I have two entry files for different domains (public / backend).
Currently it's impossible to register both with the appendTo option in the Vite Plugin, but I think it would be a good addition. Optionally we could also maybe use a glob pattern instead, but both would be an improvement imo.
Is this possible and wanted? If so, I can also submit a PR. Thanks!
Hey, PR welcome!
I made a PR but also closed it. I found the appendTo option will be passed to VueInspector https://github.com/kevinluo201/devtools/blob/main/packages/vite/src/vite.ts#L227, so if we want to the appendTo to support array, we need to make the same change in vite-plugin-vue-inspector
We also have a laravel based setup with multiple entry points. At the moment we are using the browser extension, but would like to use the vite plugin in the future.