From 4deed526097ada6eb5506e9adb37190447463dcc Mon Sep 17 00:00:00 2001 From: Steven Date: Mon, 13 Sep 2021 19:45:07 -0400 Subject: [PATCH] Fix missing variable declaration --- src/index.js | 1 + 1 file changed, 1 insertion(+) diff --git a/src/index.js b/src/index.js index f7dff022..32504586 100644 --- a/src/index.js +++ b/src/index.js @@ -126,6 +126,7 @@ function ncc ( } resolvePlugins.push(new TsconfigPathsPlugin(tsconfigPathsOptions)); + const tsconfig = tsconfigPaths.loadConfig(); if (tsconfig.resultType === "success") { tsconfigMatchPath = tsconfigPaths.createMatchPath(tsconfig.absoluteBaseUrl, tsconfig.paths); }