update cmd to add size options

This commit is contained in:
Nacho Codoñer
2025-03-17 12:06:27 +01:00
parent 0ef3999814
commit 276d71b591

View File

@@ -1160,10 +1160,6 @@ This command runs a performance profile for the Meteor application, monitoring t
bundler process and tracking key performance metrics to help analyze the build and
bundling performance.
Optionally, you can set the environment variable METEOR_BUNDLE_SIZE=true to gather
bundle size data, allowing you to assess the impact of changes on the overall build
size.
Use METEOR_IDLE_TIMEOUT=<seconds> to set a timeout for profiling. The default time (90s)
is usually enough for each build step to complete. If you encounter errors due to
early exits, adjust the environment variable accordingly.
@@ -1175,6 +1171,9 @@ it uses the server and client entrypoints specified in your package.json.
Use METEOR_LOG_DIR=<path-to-directory> to set a custom log directory.
Options:
The options for this command are the same as those for the meteor run command.
--size monitor both bundle runtime and size
--only-size monitor only the bundle size
The rest of options for this command are the same as those for the meteor run command.
You can pass typical runtime options (such as --settings, --exclude-archs, etc.)
to customize the profiling process.