mirror of
https://github.com/meteor/meteor.git
synced 2026-05-02 03:01:46 -04:00
update cmd to add size options
This commit is contained in:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user