[Utoo Pack] Support `config.optimization.minify.extractComments`
Nobody has claimed this yet.
Assessment
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Newbie friendliness
- 45/100
- Issue type
- Feature
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- javascript, rust
- Domain
- build-system, tooling
Research direction
Start by locating Utoo Pack's implementation of config.optimization.minify and compare its comment handling with the referenced rspack_plugin_swc_js_minimizer/src/lib.rs. Trace how antd UMD builds are processed, then verify that license-related comments are extracted into a txt file as requested.
Written by the indexing model from the issue text.
Description
Problem
ref isssue: #2004
antd umd 有版权注释提取的需求,需要把 license 相关的注释提取到一个 txt 文件里面去。
Solution
参考 https://github.com/web-infra-dev/rspack/blob/main/crates/rspack_plugin_swc_js_minimizer/src/lib.rs#L241 使用 swc parser 收集一下 comments 最后输出出去就好。
Alternatives
No response
Importance
nice to have
Additional Information
No response
- Dominant language
- Rust
- Stars
- 2.5k
- Forks
- 128
- Avg merge
- 21h 39m
- Merged PRs (30d)
- 32
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.
More from utooland/utoo
-
A-Pkg Manager good first issue new collaborator friendly OSS-Easy S-Enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
A-Pkg Manager good first issue new collaborator friendly OSS-Easy S-Feature
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
A-Pkg Manager good first issue new collaborator friendly OSS-Easy S-Enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
A-Pkg Manager S-Refactor
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 68/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
kwakseongjae/auto-hwp#319 ·
-
area:cli bug filter-quality good first issue priority:medium
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 1/5 Under an hour Newbie friendliness 72/100
bevyengine/bevy#25861 ·
-
comp-datalake
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
ClickHouse/ClickHouse#121222 ·
-
enhancement remote
Difficulty 2/5 1-3 hours Newbie friendliness 68/100