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 Sep 21, 2016
1 parent 04b84df commit dd198dd
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 dd198dd

Please sign in to comment.