Packages

@hono/vite-dev-server

0.26.1 · 11 Jul 2026MIT312.6k / weekRepositorynpmAtom feed

Your version

0.5.0

30 Jan 2024Where it was published

0.26.1 is the newest release of 0.5.x.

In short

1 new

Release note

Minor Changes

  • Leverage vite error handling. To leverage this, return client errors in development like in the example below:

    honoApp.get('*', async c => {
      try {
        // react, solid, etc
        const app = await renderClientApp(<App />);
    
        return new Response(app, { headers: { 'Content-Type': 'text/html' } });
      } catch (err: any) {
        // in dev, pass the error back to the vite dev server to display in the error overlay
        if (import.meta.env.DEV) return err;
    
        throw err;
      }
    });

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.