diff --git a/bundle/scripts/build.js b/bundle/scripts/build.js index 05cf37ce..d7bd23d9 100644 --- a/bundle/scripts/build.js +++ b/bundle/scripts/build.js @@ -56,7 +56,7 @@ function transpileFiles() { function util() { // const child = spawn("node", `${swcBin} src --out-dir dist --sync`.split(" "), { - const child = spawn("node", `${tscBin} -b .`.split(" "), { + const child = spawn("node", `\"${tscBin}\" -b .`.split(" "), { cwd: path.join(__dirname, "..", "..", "util"), env: process.env, shell: true,