vite打包下dagre里require的问题
Open
- Dominant language
- TypeScript
- Stars
- 251
- Forks
- 49
- PR merge metrics
- No merged PRs in 30d
Description
vite打包情况下,dagre的引用还是会报错,因为dagre里面用了require,不知道何时能解决。
我看npmjs.com上有dagre-ts,不知是否可换一个引用。
Contributor guide
Research direction
No file or test is named. Start by reproducing the Vite build failure involving dagre's require usage, then compare the current dagre dependency with the suggested dagre-ts package. Done means the project builds successfully with Vite without the dagre require error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vite
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100