Wow, Prepack is awesome!
1 min readMay 3, 2017
I just tried out Prepack, which is open-sourced by Facebook several hours ago.
Here is a test file:
Compiled with webpack:
Putting that 928-line bundle through Prepack, and here’s the result:
I am amazed that Prepack could turn a 900-line bundle back into a single line. Check it out: