diff --git a/modules/@angular/compiler-cli/src/compiler_host.ts b/modules/@angular/compiler-cli/src/compiler_host.ts index 392a827f3d..7a4e6a3919 100644 --- a/modules/@angular/compiler-cli/src/compiler_host.ts +++ b/modules/@angular/compiler-cli/src/compiler_host.ts @@ -271,7 +271,8 @@ export class CompilerHost implements AotCompilerHost { if (DTS.test(filePath)) { // Check for a bundle index. if (this.hasBundleIndex(filePath)) { - return this.bundleIndexNames.has(filePath); + const normalFilePath = path.normalize(filePath); + return this.bundleIndexNames.has(normalFilePath); } } return true;