Yunfei He

Results 129 issues of Yunfei He

# What's expression replacement There's need for users that is replacing some expression with another expression in source code. A typical use case is to replace `process.env.NODE_ENV` to `"production"`. Input...

P-high
A-transformer

This issue is follow-up of https://github.com/oxc-project/oxc/issues/1227 and https://github.com/oxc-project/oxc/pull/2498. ## Status quo oxc currently rely on test262 and manual testing. test262: https://github.com/oxc-project/oxc/blob/1519b9000bcdc7c43c79c8b26e194a13f7df1f1e/crates/oxc_semantic/tests/scopes.rs manual testing: https://github.com/oxc-project/oxc/blob/e2d2ce3369bd49743cf95c095c206a92dfe0acda/tasks/coverage/src/test262.rs#L212-L235 - test262 only ensure the all...

C-enhancement

### Describe the feature Generally I have to using customized args parser to write tje following code. I was hope that `citty` could support the requirement said in the title,...

This is a followed up of #832. With the hard work of @Brooooooklyn, we now are ok to compile to wasi successfully and run wasi rolldown successfully in some simple...

help wanted
scope: wasi

Esm code that contains `require(...)` will throw errors like ``` console.log(fs, nodeFs, require('path'), require('node:path')); ^ ReferenceError: require is not defined in ES module scope, you can use import instead ```...

- https://github.com/rolldown/rolldown/tree/a3717ad7407a4aec48ad9c9226a23a236f5fa086/crates/rolldown/tests/esbuild/packagejson/.test_package_json_exports_default_over_import_and_require Blocked by https://github.com/oxc-project/oxc-resolver/issues/160.

refs: - https://github.com/napi-rs/napi-rs/issues/2110 https://github.com/rolldown/rolldown/blob/49d4b5c03ab699d71125782c746d15b9b276821c/crates/rolldown/src/utils/chunk/render_chunk.rs#L76-L78

bug: upstream
stale

## Why The main problem is that the concept `NormalizedInputOptions` is try to give a final form of options while it still in Js side not passing to the rust....

scope: rollup-compat
stale

- ~bundler_css_test~ - [x] #989 - [x] bundler_default_test - [x] bundler_glob_test - [x] bundler_importstar_test - [x] bundler_importstar_ts_test - [ ] bundler_loader_test - [x] bundler_lower_test - [x] bundler_packagejson_test #783 - [x]...