We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28b7598 commit 15cc32cCopy full SHA for 15cc32c
src/EsbuildPlugin.ts
@@ -63,7 +63,7 @@ export class EsbuildPlugin implements Plugin {
63
this.logger = logger;
64
if (this.esbuildConfig.tsconfig) {
65
const parsedTsconfig = await parseTsconfig(this.esbuildConfig.tsconfig);
66
- this.tsconfigRaw = parsedTsconfig ? JSON.stringify(parsedTsconfig) : await promisify(fs.readFile)(this.esbuildConfig.tsconfig, 'utf8');
+ this.tsconfigRaw = JSON.stringify(parsedTsconfig);
67
}
68
69
0 commit comments