svelte-adapter-azure-swa
svelte-adapter-azure-swa copied to clipboard
Include plugins in esbuildOptions
Add plugins option in esbuildOptions
Why do you need this? Ideally you would use a Vite plugin instead, since that would apply during dev and build.
Do they work during build? For example I have to move query engine files related to prisma to ./build/server/.
Sorry for the late response - I still think a Vite plugin or maybe a postbuild script would accomplish what you need. I don't currently want to allow running arbitrary esbuild plugins since esbuild should be an implementation detail for this adapter.
If you really want it, you can fork or patch the package -- it should be a simple customization to maintain.