Files
bun.sh/src/bun.js
Dylan Conway d78ecc76c8 Symbol minification (#2695)
* minify

* Update renamer.zig

* --minify-whitespace

* Speed up minification a little

* handle private names

* 5% faster minification

* use helper function

* fix nested scope slots

* `bun build --minify` gets another +8% faster

* print semicolons afterwards

* print semicolon after checking error

* after all error checking

* Delete code for generating legacy bundes

* remove extra whitespace around if statements

* print space before import identifier

* Use `@constCast`

* Make `S.Local#decls` use `BabyList(Decl)`

* Add `fromSlice` helper to `BabyList`

* Remove unnecessary optional chains

* minify `undefined, true, false`

* Another @constCast

* Implement merge adjacent local var

* Support --minify in `bun build --transform`

* skip comments when counting character frequencies

* Don't wrap commonjs with --transform on (unless targeting bun)

* Support --minify in the runtime

* Fix edgecase with import * as

* don't infinite loop

* --trnasform shouldn't mess with require

* Only track comments when minifying

---------

Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-04-20 05:23:12 -07:00
..
2023-04-19 00:01:27 -07:00
2023-04-19 00:01:27 -07:00
2023-04-13 04:11:12 -07:00
2023-04-13 04:11:12 -07:00
2023-04-19 00:01:27 -07:00
2023-04-19 00:01:27 -07:00
2023-04-19 00:01:27 -07:00
2023-04-19 00:01:27 -07:00
2023-04-13 04:11:12 -07:00
2023-04-19 00:01:27 -07:00
2023-04-19 00:01:27 -07:00
2023-01-31 17:55:16 -08:00
2022-06-22 23:21:48 -07:00
2023-04-19 00:01:27 -07:00
2023-01-31 17:55:16 -08:00
2023-04-17 07:13:01 -07:00
2023-03-14 08:16:53 -07:00
2023-04-19 00:01:27 -07:00
2023-04-20 05:23:12 -07:00
2023-02-19 19:04:29 -08:00
2023-04-05 18:27:02 -07:00
2023-04-19 00:01:27 -07:00
2023-03-28 18:23:50 -07:00
2023-04-05 17:38:47 -07:00
2023-04-05 18:27:02 -07:00
2023-01-31 17:55:16 -08:00
2023-04-19 00:01:27 -07:00
2023-03-02 19:02:10 -08:00
2023-02-06 11:35:01 -08:00
2023-04-19 00:01:27 -07:00