]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
workflow: fix build script formats flags
authorEvan You <yyx990803@gmail.com>
Thu, 20 Sep 2018 00:36:14 +0000 (20:36 -0400)
committerEvan You <yyx990803@gmail.com>
Thu, 20 Sep 2018 00:36:14 +0000 (20:36 -0400)
scripts/build.js

index 035212b0be1da0f70097b4ed683a3063a4a4dff0..47d7e44642ad0716e5d6e5bc8401b4863be59ff4 100644 (file)
@@ -53,7 +53,7 @@ async function build(target) {
       '--environment',
       `NODE_ENV:production,` +
         `TARGET:${target}` +
-        (formats ? `FORMATS:${formats}` : ``)
+        (formats ? `,FORMATS:${formats}` : ``)
     ],
     { stdio: 'inherit' }
   )