utooland / utooland/utoo

🐛 umijs4 开启了 mako: {} require.context('@pages', true, /\.tsx$/); 不生效

Open
#2,128 1 comment 0 reactions 0 assignees View on GitHub

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

What happened?

详情见 issue: https://github.com/umijs/umi/issues/13099

Expected result

No response

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.