Skip to content

Commit

Permalink
lol
Browse files Browse the repository at this point in the history
  • Loading branch information
venikx committed Mar 16, 2023
1 parent d059d2e commit 7cfa66c
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions packages/dev-server-esbuild/src/EsbuildPlugin.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,11 +63,13 @@ export class EsbuildPlugin implements Plugin {
this.logger = logger;
if (this.esbuildConfig.tsconfig) {
try {
const { stderr, stdout } = await promisify(child_process.exec)(`tsc --project ${this.esbuildConfig.tsconfig} --showConfig`)
if (stderr) throw stderr
this.tsconfigRaw = stdout
const { stderr, stdout } = await promisify(child_process.exec)(
`tsc --project ${this.esbuildConfig.tsconfig} --showConfig`,
);
if (stderr) throw stderr;
this.tsconfigRaw = stdout;
} catch (e) {
console.error(e)
console.error(e);
}
}
}
Expand Down

0 comments on commit 7cfa66c

Please sign in to comment.