🐛 umijs4 开启了 mako: {} require.context('@pages', true, /\.tsx$/); 不生效
Open
Nobody has claimed this yet.
S-Bug-confirmed
- Dominant language
- Rust
- Stars
- 2.5k
- Forks
- 128
- Avg merge
- 21h 39m
- Merged PRs (30d)
- 32
Description
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 with the linked Umi issue and reproduce the reported Umi 4 configuration with Mako enabled: require.context('@pages', true, /.tsx$/). Determine the intended behavior from that issue, then verify whether the require.context call works; the issue currently provides no expected result or project file/test location.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100