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:
@@ -3390,7 +3390,7 @@ async function doBenchmarkCommand(options) {
|
||||
!!options['only-size'] && 'METEOR_BUNDLE_SIZE_ONLY=true',
|
||||
!!options['size'] && 'METEOR_BUNDLE_SIZE=true'
|
||||
].filter(Boolean);
|
||||
const meteorOptions = args.filter(arg => ['--only-size', '--size'].includes(arg));
|
||||
const meteorOptions = args.filter(arg => !['--only-size', '--size'].includes(arg));
|
||||
|
||||
const profilingCommand = [
|
||||
`${meteorSizeEnvs.join(' ')} ${profilingPath}/scripts/monitor-bundler.sh ${projectContext.projectDir} ${new Date().getTime()} ${meteorOptions.join(' ')}`.trim(),
|
||||
|
||||
Reference in New Issue
Block a user