Skip to content

Commit

Permalink
fix: Add missing variable declaration (#773)
Browse files Browse the repository at this point in the history
  • Loading branch information
styfle committed Mar 18, 2022
1 parent 302017b commit 06aa205
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/index.js
Expand Up @@ -129,6 +129,7 @@ function ncc (
}
resolvePlugins.push(new TsconfigPathsPlugin(tsconfigPathsOptions));

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

0 comments on commit 06aa205

Please sign in to comment.