From ea5ae234ece09ebe8b1ddcb09eaf9f172f3bb6fd Mon Sep 17 00:00:00 2001 From: Mosh Feu Date: Mon, 26 Apr 2021 07:40:09 +0300 Subject: [PATCH] fix: webpack tsc --- webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webpack.config.js b/webpack.config.js index 70d4ef5..5ae0ca6 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -75,7 +75,7 @@ module.exports = (env, argv) => ({ let firstTime = true; compiler.hooks.done.tap('ts', () => { console.log(`after compile in mode "${compiler.options.mode}"`); - spawnSync('tsc', ['--project', `tsconfig${compiler.options.mode === 'production' ? '.prod' : ''}.json`], { + spawnSync('tsc', { stdio: 'inherit' }); console.log(`after tsc. first time? ${firstTime}`);