vite-plugins icon indicating copy to clipboard operation
vite-plugins copied to clipboard

Vite Plugins for Hono

Results 40 vite-plugins issues
Sort by recently updated
recently updated
newest added

dev server does not run websocket: ```typescript import { Hono } from "hono"; import { createBunWebSocket } from "hono/bun"; const { upgradeWebSocket, websocket } = createBunWebSocket(); const app = new...

Currently I have a rudimentary function called `getWranglerEnv` that reads the env from the `wrangler.toml` and adds it to the env of the honox dev server. This is a proposal...

Thank you for developing such an incredible toolset and web framework! I am considering switching from Wrangler to Vite + dev-Server. However, since my `wrangler.toml` file already contains numerous environment...

`include` is the opposite of the existing `exclude` functionality. `middleware` can run prior to parsing the request onto Vite and can return `Response` or `undefined`. `undefined` will pass the request...

Relate: https://github.com/honojs/vite-plugins/issues/25 Now, we can use wrangler.toml and use local storage under `.wrangler/state/v3` ```ts import { defineConfig } from 'vite'; import devServer from '@hono/vite-dev-server' export default defineConfig(({ mode }) =>...

While using vite plugin I found out that css import from client side script were blocked by hono (or the plugin not sure really) ![CleanShot 2024-01-04 at 7  40 02@2x](https://github.com/honojs/vite-plugins/assets/6843073/f4924094-f7aa-4142-8632-2fbf19cfe1a0)...

Steps to reproduce Init new vite app via `npm create vite@latest` `cd` to the directory `npm install` `npm install @hono/vite-dev-server --save-dev` add `devServer` from `@hono/vite-dev-server` to plugins in `vite.config.ts` try...

It is useful to be able to to set the server port to a different port to the vite server. Currently passing `port` to the `cf` object doesn't work.

Add a custom function as an exclude pattern. eg. ```typescript type ExcludeFunction = (url: string, app?: Hono) => boolean devServer({ exclude: [(url, app) => return true] }) ```

The config for Miniflare is pretty limited to local only services (see below), but wrangler defines several additional APIs (like AI) that remotely work for the Wrangler dev server. In...