oxc/tasks/minsize
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
..
src feat(codegen)!: new code gen API (#3740) 2024-06-18 15:50:12 +00:00
Cargo.toml chore(minsize): remove brotlic because it takes too long to compile (#2954) 2024-04-13 13:24:25 +08:00
minsize.snap chore: remove trailing whitespaces for all files; add .editorconfig (#3639) 2024-06-12 15:47:26 +08:00
README.md feat: add cargo minsize task for tracking minification size (#276) 2023-04-14 13:07:37 +08:00

Track Minification size

See minification-benchmarks for baseline.