Yunfei He

Results 368 comments of Yunfei He

I personally suspect it's a problem of `define` argument. --- Just found the cli's description needs to be imporved too.

https://chatgpt.com/s/cd_68ef6d112f8481919a297ed54074a99b Codex's report. Yeah. It's a problem of `define` argument.

Do you need it from rust side or js side? I thought we already emit status info as rollup did.

> when codegen minify: true To be more specific, the conditions are String -> AST -> Minified AST(Minifier) -> String with comments(Codegen with minify: true).

> ts_import_equals_tree_shaking_false > the interesting thing is esbuild would eliminate unused variable even the treeshake is false This is tsc's behavior. It's irrelevant with tree-shaking.

Might be related https://github.com/napi-rs/napi-rs/blob/aeb0b4766d9554519eb4002e02910ebb2b4a0b36/crates/napi/src/js_values/mod.rs#L315

jsx, ts and tsx are supported in #1364.

> Why is CSS loader delayed? I was thinking that could be a good task for me to tackle but it sounds like we're not ready for that feature yet?...

> Hi @hyf0, the file and copy loader implementations, whether or not a `file module` converted into a chunk with`chunkKind::Common` in the `GenerateStage.generateChunk` It won't