Skip to content

[BUG]: Doesn't appear to work in dev mode #1

@auctumnus

Description

@auctumnus

Prerequisites

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

  1. Clone the reproduction repo (https://github.com/auctumnus/vite-plugin-favicon-repro)
  2. Install dependencies (yarn)
  3. Run yarn dev to start the dev server
  4. 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.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingpinnedPrevent stale on pinned items

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions