Browse Source

fix(ui-devkit): Wrap output path in quotes. (#1519)

To allow spaces in output path.
waltheri 3 years ago
parent
commit
755d2e220d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/ui-devkit/src/compiler/compile.ts

+ 1 - 1
packages/ui-devkit/src/compiler/compile.ts

@@ -66,7 +66,7 @@ function runCompileMode(
     const compile = () =>
         new Promise<void>(async (resolve, reject) => {
             await setupScaffold(outputPath, extensions);
-            const commandArgs = ['run', 'build', `--outputPath=${distPath}`, `--base-href=${baseHref}`, ...buildProcessArguments(args)];
+            const commandArgs = ['run', 'build', `--outputPath="${distPath}"`, `--base-href=${baseHref}`, ...buildProcessArguments(args)];
             if (!usingYarn) {
                 // npm requires `--` before any command line args being passed to a script
                 commandArgs.splice(2, 0, '--');