chore: tweak size script

This commit is contained in:
Evan You
2019-09-20 00:31:14 -04:00
parent 3ddd121b19
commit 30e60c0492
3 changed files with 6 additions and 5 deletions

View File

@@ -55,7 +55,8 @@ async function build(target) {
`NODE_ENV:production,` +
`TARGET:${target}` +
(formats ? `,FORMATS:${formats}` : ``) +
(args.types ? `,TYPES:true` : ``)
(args.types ? `,TYPES:true` : ``) +
(args.p ? `,PROD_ONLY:true` : ``)
],
{ stdio: 'inherit' }
)