Webpack 5 build errors with persistent/disk cache
Open
Nobody has claimed this yet.
help wanted
upstream
webpack
- Dominant language
- TypeScript
- Stars
- 3.6k
- Forks
- 156
- PR merge metrics
- No merged PRs in 30d
Description
Reproduction link: https://github.com/Akryum/unplugin-icons-issue-94
- Build a webpack 5 project with persistent caching -> Success
- Build again -> Success
- Build again -> Error
The build crashes with errors - examples:
error in ./virtual:~icons/feather/smile
Syntax Error: no such file or directory, open '/home/akryum/Projects/livestorm-app/packages/frontend/virtual:~icons/feather/smile'
error in ./virtual:~icons/feather/x-circle
Syntax Error: no such file or directory, open '/home/akryum/Projects/livestorm-app/packages/frontend/virtual:~icons/feather/x-circle'
error in ./virtual:~icons/feather/x
Syntax Error: no such file or directory, open '/home/akryum/Projects/livestorm-app/packages/frontend/virtual:~icons/feather/x'
Related to https://github.com/antfu/unplugin-icons/issues/94
Contributor guide
No contributing guide indexed for this repository
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 with the linked reproduction at https://github.com/Akryum/unplugin-icons-issue-94 and follow the three webpack 5 persistent-cache build steps. Compare the failing virtual icon paths with the related unplugin-icons issue. Done means repeated builds complete without the reported missing-file errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, webpack
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100