Ethan Wu

Results 65 comments of Ethan Wu

You may use dynamic imports in your project. You may set `output.inlineDynamicImports` to `true` if you think these dynamic chunks are not necessary. Yeah we currently don't support AMD format...

Oh, I see. In this scenario, you may try to use different configs like `defineConfig([a, b])`, where `a`'s input is the first, and `b`'s input is the second. We may...

Seem to be a problem when the `format` sets to be `true`.

Despite enabling all the options of the `oxc_transformer` decorator, the decorators remain unchanged.

Hello! In my PR #1367, you said that the `encode_as_percent_escaped_dataurl` function shouldn't be omitted to improve compatibility. However, through the crate `urlencoding`, these chars (e.g. `\n`) can also be translated...

> Hello! In my PR #1367, you said that the `encode_as_percent_escaped_dataurl` function shouldn't be omitted to improve compatibility. However, through the crate `urlencoding`, these chars (e.g. `\n`) can also be...

While `mime_guess` does include some rare extensions’ MIME types, I don’t think we should simply ignore them. According to [MDN](https://developer.mozilla.org/en-US/docs/Web/HTTP/Basics_of_HTTP/Data_URLs): > Data URLs, URLs prefixed with the data: scheme, allow...

I agree with you. However, in my opinion, directly writing numerous matches that aren’t part of the core functionality isn’t ideal for a project. Instead, I’ll create a new crate...

@ikkz I have developed a new crate called [`mime_more`](https://github.com/7086cmd/mime_more.git) that features an `extension-light` capability, including extensive matches for various types, such as video and audio, which may be useful. We...

cc @hyf0, I am also curious about the optimal placement of the watcher, Rust side or JavaScript side.