🤔 [QUESTION] Next.js引入g2打包报错
Open
Question
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 591
- PR merge metrics
- No merged PRs in 30d
Description
### 🐛 Question description [Please make everyone to understand it]

在Next.js引入g2后打包报错
### 💻 Link to minimal reproduction
### 🏞 Expected result
希望能正常打包
### 🚑 Any additional [like screenshots]
* **G2Plot Version**:^2.4.31
* **Next.js Version**:12.0.4
Contributor guide
Research direction
Start with the attached error screenshot and reproduce the reported setup using G2Plot 2.4.31 with Next.js 12.0.4. The issue provides no minimal reproduction, error text, files, or tests; it is complete only when that integration builds successfully and the cause and verification steps are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- next.js, typescript
- Domain
- build-system, frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100