Skip to content

Commit

Permalink
Normalize dependency graph paths
Browse files Browse the repository at this point in the history
  • Loading branch information
Patricio Zavolinsky committed Oct 10, 2016
1 parent 9482255 commit 0b11576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ function ensureTypeScriptInstance(loaderOptions: LoaderOptions, loader: any): {
resolvedModules.push(resolutionResult);
}

instance.dependencyGraph[containingFile] = resolvedModules.filter(m => m != null).map(m => m.resolvedFileName);
instance.dependencyGraph[path.normalize(containingFile)] = resolvedModules.filter(m => m != null).map(m => m.resolvedFileName);

return resolvedModules;
}
Expand Down

0 comments on commit 0b11576

Please sign in to comment.