https://github.com/blankeos/mre-image-import-vike-bug
https://github.com/blankeos/mre-image-import-vike-bug
Last synced: about 1 year ago
JSON representation
- Host: GitHub
- URL: https://github.com/blankeos/mre-image-import-vike-bug
- Owner: Blankeos
- Created: 2024-10-17T16:15:08.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-10-17T17:06:11.000Z (over 1 year ago)
- Last Synced: 2025-02-13T08:41:16.094Z (over 1 year ago)
- Language: TypeScript
- Size: 1.46 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
**The bug in a nutshell**
When using the hono devserver, then importing an image in `src` (outside of `static` or `public`), it does not work.
Bug is fixed by: Excluding `webp` in middleware.
### Get started
```sh
bun run dev:with # run the with @hono/vite-dev-server plugin
```
```sh
bun run dev:without # run without plugins, just regular vite.createServer.
```
> Bootstrapped with [Solid Hop](https://github.com/blankeos/solid-hop)