You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there any interest in allowing users to configure when the plugin is ran? While this plugin certainly does some things differently, rollup-plugin-copy has a similar option to set the hook which would be nice to have.
Unfortunately I need this plugin to run earlier, during generateBundle, so I've taken to patching this line across a couple dozen or so projects:
Some other plugins need that content to be transformed and written to the disk by the time they run, and, as far as I know, there's no way to guarantee that besides moving this plugin forward a stage. Moving an FS operation forward, to my knowledge, wouldn't cause any issues either (besides potential name collisions/overwrites I suppose) which is why it seemed like the better target for a patch.
Is there any interest in allowing users to configure when the plugin is ran? While this plugin certainly does some things differently,
rollup-plugin-copy
has a similar option to set the hook which would be nice to have.Unfortunately I need this plugin to run earlier, during
generateBundle
, so I've taken to patching this line across a couple dozen or so projects:vite-plugin-static-copy/src/build.ts
Line 23 in c3a1474
Happy to keep patching if need be, but thought I'd ask.
The text was updated successfully, but these errors were encountered: