From d4492d5c5c76fd29d609274f407bd6571c4ac4d9 Mon Sep 17 00:00:00 2001 From: Lyu Jason Date: Mon, 18 Jan 2021 09:53:25 +0800 Subject: [PATCH] fix building in directory that has space in the path --- build/rollup-plugins.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/rollup-plugins.js b/build/rollup-plugins.js index d452849974..21daa663be 100644 --- a/build/rollup-plugins.js +++ b/build/rollup-plugins.js @@ -31,7 +31,7 @@ function generateTypingsVls() { buildStart() { return new Promise((resolve, reject) => { const tsc = spawn( - getServerPath('node_modules/.bin/tsc'), + path.join('node_modules', '.bin', 'tsc'), ['--declaration', '--declarationDir', './typings', '--emitDeclarationOnly', '--pretty'], { cwd: getServerPath('./'), shell: true } );