Skip to content

Commit

Permalink
fix: webpack tsc
Browse files Browse the repository at this point in the history
  • Loading branch information
moshfeu committed Apr 26, 2021
1 parent 0d06445 commit ea5ae23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down

0 comments on commit ea5ae23

Please sign in to comment.