sapphi-red / vite-plugin-static-copy

rollup-plugin-copy with dev server support.
MIT License
287 stars 31 forks source link

fix: don't try to read the content when the requested path is mapped to a directory #105

Closed daihuabin closed 6 months ago

daihuabin commented 6 months ago

when the requested path is a folder Uncaught Error: EISDIR: illegal operation on a directory, read

changeset-bot[bot] commented 6 months ago

🦋 Changeset detected

Latest commit: c9fdb277e374aa839a44264c3dd99d7b20df4751

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

sapphi-red commented 6 months ago

Thanks!