Recreate `.wxt` directory when WXT version changes
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10.5k
- Forks
- 564
- PR merge metrics
- No merged PRs in 30d
Description
Feature Request
Goal is to delete any old or deprecated files automatically when WXT's version changes.
Is your feature request related to a bug?
N/A
What are the alternatives?
Manually run wxt clean.
Additional context
Mentioned on discord while testing out v0.20: https://discord.com/channels/1212416027611365476/1322936410218692628/1324139527899713568
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating where the .wxt directory is created and how the wxt clean command removes files. Trace how the current WXT version is recorded or detected, then define completion as automatically removing deprecated files when that version changes while preserving the existing clean behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system, tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100