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

[@hono/vite-dev-server] Add custom exclude function

Open eathic-team opened this issue 2 years ago • 0 comments

Add a custom function as an exclude pattern.

eg.

type ExcludeFunction = (url: string, app?: Hono) => boolean
devServer({
  exclude: [(url, app) => return true]
})

eathic-team avatar Nov 04 '23 10:11 eathic-team