-
Notifications
You must be signed in to change notification settings - Fork 13
Open
Labels
bugSomething isn't workingSomething isn't workingpinnedPrevent stale on pinned itemsPrevent stale on pinned items
Description
Prerequisites
- Reproduced the problem in a sandbox or repo: https://github.com/auctumnus/vite-plugin-favicon-repro
- Checked that your issue isn't already filed: https://github.com/issues?utf8=✓&q=is%3Aissue+repo%3Ajosh-hemphill/vite-plugin-favicon
Description
Plugin doesn't appear to work in dev mode at all. Takes another ~15 seconds than usual to start the dev server, and 62 (!) warnings pop up reading:
[plugin:vite-plugin-favicon] context method emitFile() is not supported in serve mode. This plugin is likely not vite-compatible. (x62)
Steps to Reproduce
- Clone the reproduction repo (https://github.com/auctumnus/vite-plugin-favicon-repro)
- Install dependencies (
yarn
) - Run
yarn dev
to start the dev server - See errors in console
Expected behavior:
I expected the favicons to be added, and for it to start without errors.
Actual behavior:
No favicon is added to the page, and Vite takes around 15 seconds extra to start, as well as emitting the warnings as above.
Reproduces how often:
Every time I've tried to reproduce it, it's worked.
barbalex and alexey-sh
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingpinnedPrevent stale on pinned itemsPrevent stale on pinned items