diff --git a/src/index.js b/src/index.js index 1cb6c5fe..9d3fcf6b 100644 --- a/src/index.js +++ b/src/index.js @@ -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); }