Skip to content

Commit

Permalink
pipe error out to stdio
Browse files Browse the repository at this point in the history
  • Loading branch information
tanhauhau committed Oct 14, 2022
1 parent 58d968b commit 39e3c36
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions generate-type-definitions.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
const { execSync } = require('child_process');
const { readFileSync, writeFileSync } = require('fs');

execSync('cat src/compiler/compile/render_dom/index.ts', { stdio: 'inherit' });
execSync('tsc -p src/compiler --emitDeclarationOnly && tsc -p src/runtime --emitDeclarationOnly', { stdio: 'inherit' });

// We need to add these types to the .d.ts files here because if we add them before building, the build will fail,
Expand Down

0 comments on commit 39e3c36

Please sign in to comment.