diff --git a/vite.config.ts b/vite.config.ts index 350c9f8..e1b648f 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -42,10 +42,9 @@ function chrome129IssuePlugin() { if (version === 129) { res.setHeader('content-type', 'text/html'); - res.write( + res.end( '
Chrome 129 has an issue with JavaScript modules & vite local development, see here for more.
Note: This only impacts local development. `pnpm run build` and `pnpm run start` will work fine in this browser.
', ); - res.end(); return; }