Yunfei He

Results 129 issues of Yunfei He

### What problem does this feature solve? To give chunk a readable name. ### What does the proposed API of configuration look like? ![img_v2_8fd31df2-84d3-4c23-a17f-92a061deeb1g](https://user-images.githubusercontent.com/49502170/224940905-a69e72a1-4a8f-4ebc-8033-4c3c029f619e.jpg)

enhancement

It's similar to [Mutex::get_mut](https://doc.rust-lang.org/std/sync/struct.Mutex.html#method.get_mut). I think the advantages are - Compiler could promise no dead-lock for these API - No locking cost for some scenarios

### Describe the feature For input ```css body { color: red; } body { color: red; } ``` cssnano will discard duplicated rules. https://cssnano.co/playground/ ![image](https://github.com/swc-project/swc/assets/49502170/1765f07e-0bac-4ca5-9b1c-dbdbd773eca0) ### Babel plugin or link...

enhancement

**Description:** Can we have those list also in swc minifier? (itself) _Originally posted by @kdy1 in https://github.com/swc-project/swc/issues/6840#issuecomment-1398415208_ **BREAKING CHANGE:** **Related issue (if exists):** The PR relies on code in #6840.

**Is your feature request related to a problem? Please describe.** Nope. It's just the semantics of `Use the template` are more proper than `fork`. ![image](https://user-images.githubusercontent.com/49502170/153639156-5d49896d-8fe6-4015-bb08-19583219156c.png) **Describe the solution you'd like**...

enhancement
need-discussion

Remove panics from tokio workers

Those tests are failed to be executed, founded in #119. - [x] test_tests__esbuild__default__arrow_fn_scope__test_config_json - [x] https://github.com/rolldown-rs/rolldown/issues/135 - [x] test_tests__esbuild__default__const_with_let__test_config_json - [x] #136 - [ ] test_tests__esbuild__default__forbid_const_assign_when_bundling__test_config_json - [x] test_tests__esbuild__default__forbid_const_assign_when_lowering_using__test_config_json -...

bug
scope: tests
stale

As we discussed in https://github.com/rolldown-rs/rolldown/pull/438, to support emitting source map in a practical way, there are some unfinished tasks to do. - [x] `MagicString` support emitting source map. - [...

https://github.com/rolldown-rs/rolldown/pull/435 is a start to setup making changelog, but there are something left to be considered. Currently there are two packages that rolldown repo maintains. They are `@rolldown/node` and `rolldown/wasm`....

To make sure the [`just test-node`](https://github.com/rolldown-rs/rolldown/pull/431/files#diff-deb9bb56fb122db0b605aa5b63f95a4665c905b18dd670e1fa6c877576a94ff1R49) always running node tests with latest code, `yarn build --no-wasm` need to build `rolldown_node_binding` freshly when there are changes of `rolldown_binding`'s dependecies. @milesj I'm...