oxc/tasks
Boshen 5c38a0fd69 feat(codegen)!: new code gen API (#3740)
This PR introduces two type alias to avoid the confusing const generic `pub struct Codegen<'a, const MINIFY: bool>`

* CodeGenerator - Code generator without whitespace removal.
* WhitespaceRemover - Code generator with whitespace removal.

Usage is changed to a builder pattern:

```rust
CodeGenerator::new()
  .enable_comment(...)
  .enable_sourcemap(...)
  .build(&program);
```
2024-06-18 15:50:12 +00:00
..
benchmark feat(codegen)!: new code gen API (#3740) 2024-06-18 15:50:12 +00:00
common chore: make println and eprintln opt-in (#3712) 2024-06-17 10:40:34 +00:00
coverage feat(codegen)!: new code gen API (#3740) 2024-06-18 15:50:12 +00:00
javascript_globals chore: make println and eprintln opt-in (#3712) 2024-06-17 10:40:34 +00:00
lint_rules refactor(linter): merge deepscan rules into oxc rules (#3327) 2024-05-17 11:56:06 +00:00
minsize feat(codegen)!: new code gen API (#3740) 2024-06-18 15:50:12 +00:00
prettier_conformance chore: make println and eprintln opt-in (#3712) 2024-06-17 10:40:34 +00:00
rulegen chore: make println and eprintln opt-in (#3712) 2024-06-17 10:40:34 +00:00
transform_conformance feat(codegen)!: new code gen API (#3740) 2024-06-18 15:50:12 +00:00
website chore(oxlint): remove unused code (format command) (#3716) 2024-06-17 12:16:21 +00:00
libs.txt refactor(benchmark): use more complicated files (#1811) 2023-12-25 17:27:02 +08:00