diff --git a/.changeset/skip-non-regular-files.md b/.changeset/skip-non-regular-files.md deleted file mode 100644 index 0add1b2..0000000 --- a/.changeset/skip-non-regular-files.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"rollup-plugin-sourcemaps2": patch ---- - -Skip paths that are not regular files in the default `readFile`. Previously a readable directory such as `/dev` on macOS was returned as module source and handed to the bundler's watcher, which could crash a Vite dev server on a hard navigation to a `/dev` route. diff --git a/CHANGELOG.md b/CHANGELOG.md index 8e44098..676f305 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,11 @@ # rollup-plugin-sourcemaps2 +## 0.5.10 + +### Patch Changes + +- f104531: Skip paths that are not regular files in the default `readFile`. Previously a readable directory such as `/dev` on macOS was returned as module source and handed to the bundler's watcher, which could crash a Vite dev server on a hard navigation to a `/dev` route. + ## 0.5.9 ### Patch Changes diff --git a/package.json b/package.json index e7dddc5..04c5b21 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rollup-plugin-sourcemaps2", - "version": "0.5.9", + "version": "0.5.10", "description": "Rollup plugin for grabbing source maps from sourceMappingURLs", "author": "Kudakwashe Mupeni ", "license": "MIT",