Closed benkeen closed 4 months ago
@benkeen yes, this indeed is not supported. Would be nice to have.
@layershifter let me know what you think of this PR please? https://github.com/microsoft/monosize/pull/66
FYI fixed in #66, I triggered a release, so it will be on NPM in ~10 minutes.
Correct me if I'm wrong, but I don't see an option to generate the monosize results in any other location than
dist/bundle-size/*
.We use Rush for our monorepo which for its caching layer needs a clear 1-1 mapping of commands to output locations. Since /dist is already being generated by the "build" cmd, we need a different location for the output of monosize.
We can workaround it with a quick script to copy from A to B, but being able to specify a custom target folder would simplify our integration. Thanks!