Skip to content

Commit c4fb493

Browse files
committed
fix: whoops
1 parent 30b3597 commit c4fb493

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/instances.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,13 +149,13 @@ function successfulTypeScriptInstance(
149149

150150
const { configFilePath, configFile } = configFileAndPath;
151151

152+
const filePathKeyMapper = createFilePathKeyMapper(compiler, loaderOptions);
152153
if (configFilePath) {
153154
if (isWebpack5) {
154155
loader.addBuildDependency(configFilePath);
155156
}
156157

157158
if (loaderOptions.projectReferences) {
158-
const filePathKeyMapper = createFilePathKeyMapper(compiler, loaderOptions);
159159
const configFileKey = filePathKeyMapper(configFilePath);
160160
const existing = getExistingSolutionBuilderHost(configFileKey);
161161
if (existing) {

0 commit comments

Comments
 (0)