打包之后,项目代码分析发现,babel占用也太大了,有办法处理一下吗

Open
#70 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
30/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
babel, react, typescript

Research direction

The report concerns the bundle produced when using react-code-preview and identifies Babel as unusually large in the attached analysis screenshots. Start by reproducing the package analysis and tracing the Babel-related bundle contents from the project entry point. No source file, test, or precise size target is named; completion would require a concrete reduction criterion.

Written by the indexing model from the issue text.

Description

image
image
使用react-code-preview之后,就会出现这种情况....望看到后,抽时间回复一下,感激!!

Dominant language
TypeScript
Stars
69
Forks
11
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

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.

More from uiwjs/react-code-preview

All issues in uiwjs/react-code-preview

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.