microsoft / monosize

Bundle size tooling for monorepos
MIT License
25 stars 9 forks source link

feat: add debug mode to "measure" command #36

Closed layershifter closed 6 months ago

layershifter commented 6 months ago

Fixes #20.

By avoiding running Terser twice we save around ~20% of build time. At the same time, the debug output could be enabled by adding --debug for measure i.e.:

monosize measure --debug