microsoft / monosize

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

collectLocalReport util method requires "packages" base folder #61

Closed benkeen closed 4 months ago

benkeen commented 4 months ago

Hey @layershifter, would you be amenable to a PR to make "packages" folder here a configurable setting on CollectLocalReportOptions? https://github.com/microsoft/monosize/blob/2db473d8effc2fe2288d9c5f33b0db721e9cd359/packages/monosize/src/utils/collectLocalReport.mts#L46

Our monorepo uses Rush and has a differently-named base folder for our packages.

layershifter commented 4 months ago

That's already supported, but have not been documented. See https://github.com/microsoft/monosize/pull/26

benkeen commented 4 months ago

Excellent, thanks @layershifter!