sapphi-red / vite-plugin-static-copy

rollup-plugin-copy with dev server support.
MIT License
299 stars 32 forks source link

feat: add `hook` option to control when plugin is ran #133

Closed rschristian closed 3 weeks ago

rschristian commented 3 weeks ago

Fixes #132

Not very familiar with this repo, let me know if you'd like to see things done any other way, formatted differently, etc.! Happy to make adjustments.

For a test, I basically reproduced the situation I mentioned in the issue; another plugin in writeBundle will attempt to read the file, so if we cannot access it, throw and fail the test.

changeset-bot[bot] commented 3 weeks ago

🦋 Changeset detected

Latest commit: 8d40724842f3ee22eb1800474ad36121a536d142

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR