Skip to content

Commit

Permalink
Fix missing variable declaration
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Sep 13, 2021
1 parent 44b4e0c commit c32ae0e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.js
Expand Up @@ -126,7 +126,8 @@ function ncc (
}
resolvePlugins.push(new TsconfigPathsPlugin(tsconfigPathsOptions));

if (tsconfig.resultType === "success") {
const tsconfig = tsconfigPaths.loadConfig();
if (result.resultType === "success") {
tsconfigMatchPath = tsconfigPaths.createMatchPath(tsconfig.absoluteBaseUrl, tsconfig.paths);
}
} catch (e) {}
Expand Down

0 comments on commit c32ae0e

Please sign in to comment.