Closed inkfarer closed 2 months ago
Latest commit: 30a6ab8c59447a26bd0514e69ffcc6a19db12ad5
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
wow, unbelievable! I'll check later today
Before these changes, the Vite dev server would stop if rendering an EJS template caused an error:![before](https://github.com/emosheeep/vite-plugin-virtual-mpa/assets/6833028/4ba114e3-c424-453e-a2ae-b557d34c617b)
After these changes, the rendering error is handled more gracefully - The server doesn't stop and the error is displayed in the browser. When the issue is solved, the page reloads automatically and the error overlay is cleared.![after](https://github.com/emosheeep/vite-plugin-virtual-mpa/assets/6833028/f404702b-124e-49b4-9dbe-168de399bc40)
Changes were tested with Vite 5.2.11 and 5.3.1.