{"action":"closed","issue":{"url":"https://api.github.com/repos/angular/angular-cli/issues/3571","repository_url":"https://api.github.com/repos/angular/angular-cli","labels_url":"https://api.github.com/repos/angular/angular-cli/issues/3571/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular-cli/issues/3571/comments","events_url":"https://api.github.com/repos/angular/angular-cli/issues/3571/events","html_url":"https://github.com/angular/angular-cli/issues/3571","id":195749110,"number":3571,"title":"webpack AOT @ngtools throws error","user":{"login":"prithviraju1369","id":13174304,"avatar_url":"https://avatars.githubusercontent.com/u/13174304?v=3","gravatar_id":"","url":"https://api.github.com/users/prithviraju1369","html_url":"https://github.com/prithviraju1369","followers_url":"https://api.github.com/users/prithviraju1369/followers","following_url":"https://api.github.com/users/prithviraju1369/following{/other_user}","gists_url":"https://api.github.com/users/prithviraju1369/gists{/gist_id}","starred_url":"https://api.github.com/users/prithviraju1369/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/prithviraju1369/subscriptions","organizations_url":"https://api.github.com/users/prithviraju1369/orgs","repos_url":"https://api.github.com/users/prithviraju1369/repos","events_url":"https://api.github.com/users/prithviraju1369/events{/privacy}","received_events_url":"https://api.github.com/users/prithviraju1369/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-12-15T08:54:35Z","updated_at":"2016-12-15T19:38:46Z","closed_at":"2016-12-15T19:38:46Z","body":"While doing AOT bundle Results below error at file path\r\n\r\nd:\\xyz\\angular2-lazyr\\node_modules\\@ngtools\\webpack\\src\\plugin.js:167\r\n            if (request.request.match(/\\.ts$/)) {\r\n                               ^\r\n```\r\n// Virtual file system.\r\n        compiler.resolvers.normal.plugin('resolve', function (request, cb) {\r\n            if (request.request.match(/\\.ts$/)) {\r\n                _this.done.then(function () { return cb(); });\r\n            }\r\n            else {\r\n                cb();\r\n            }\r\n        });\r\n```\r\nBelow is AOT webpack config\r\n```\r\n\r\nplugins: require('./../webpack/plugins').concat([\r\n        new ngtools.AotPlugin({\r\n            tsConfigPath: helpers.root('tsconfig.aot.json'),\r\n            entryModule: helpers.root('src/app/app.module#AppModule')\r\n        }),\r\n```\r\n\r\n"}}
{"actor":{"display_login":"hansl"}}