wxt-dev / wxt-dev/wxt

Adding an entrypoint while in dev should have it picked up (HMR)

Open
#1,794 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
10.5k
Forks
564
PR merge metrics
No merged PRs in 30d

Description

Feature Request

Running dev mode, adding an entrypoint should automatically discover and bundle it, also removing an entrypoint file should not error out rollup, it's to be considered that the file removal was intentional.

This is something that Plasmo does innately and I believe this should also be added to the compare page for plasmo until the feature is implemented :)

Is your feature request related to a bug?

"N/A"

What are the alternatives?

Alternative is manually stopping and re-running dev every single time a new entrypoint is added/moved/deleted.

Additional context

Add any other context or screenshots about the feature request here.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by locating the dev-mode entrypoint discovery and Rollup integration mentioned in the request. Trace how file additions, moves, and removals are watched and bundled, then verify that new entrypoints are picked up without restarting and intentional removals do not produce errors.

Written by the indexing model from the issue text.

Assessment

Tech stack
rollup, typescript
Domain
build-system, tooling
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.