{"action":"opened","issue":{"url":"https://api.github.com/repos/angular/angular/issues/13567","repository_url":"https://api.github.com/repos/angular/angular","labels_url":"https://api.github.com/repos/angular/angular/issues/13567/labels{/name}","comments_url":"https://api.github.com/repos/angular/angular/issues/13567/comments","events_url":"https://api.github.com/repos/angular/angular/issues/13567/events","html_url":"https://github.com/angular/angular/issues/13567","id":196406772,"number":13567,"title":"Reopen: ng-xi18n tool compiles TypeScript files","user":{"login":"Martin-Wegner","id":8995517,"avatar_url":"https://avatars.githubusercontent.com/u/8995517?v=3","gravatar_id":"","url":"https://api.github.com/users/Martin-Wegner","html_url":"https://github.com/Martin-Wegner","followers_url":"https://api.github.com/users/Martin-Wegner/followers","following_url":"https://api.github.com/users/Martin-Wegner/following{/other_user}","gists_url":"https://api.github.com/users/Martin-Wegner/gists{/gist_id}","starred_url":"https://api.github.com/users/Martin-Wegner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Martin-Wegner/subscriptions","organizations_url":"https://api.github.com/users/Martin-Wegner/orgs","repos_url":"https://api.github.com/users/Martin-Wegner/repos","events_url":"https://api.github.com/users/Martin-Wegner/events{/privacy}","received_events_url":"https://api.github.com/users/Martin-Wegner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-12-19T12:52:25Z","updated_at":"2016-12-19T12:52:25Z","closed_at":null,"body":"Sorry that I must reopen issue #12305 in this way. But @vicb closed the issue although it has never been fixed. I asked @vicb multiple times (here and in gitter) to reopen the issue but he never responded...\r\n\r\n**I'm submitting a ...**\r\n\r\n```\r\n[x] bug report\r\n```\r\n\r\n**Current behavior**\r\nHaving a Webpack 2 project (https://angular.io/docs/ts/latest/guide/webpack.html -> no Angular CLI) and running the `ng-xi18n` tool will compile all TypeScript files. The result is a `src` directory full with `.js`, `.js.map` and `.metadata.json` files.\r\n\r\n**Expected behavior**\r\nThe `ng-xi18n` tool should only generate the messages file.\r\n\r\n**What is the motivation / use case for changing the behavior?**\r\nA `src` directory without `.js`, `.js.map` and `.metadata.json` files.\r\n\r\n**Please tell us about your environment:**\r\nLinux\r\n- **Angular version:** 2.3.1\r\n- **Browser:** All\r\n- **Language:** TypeScript 2.0.10\r\n- **Node (for AoT issues):** 6.9.2\r\n\r\n**Current workaround:**\r\n\r\n```\r\n\"prei18n\": \"rimraf ./temp && shx mv ./tsconfig.json ./tsconfig.bak.json && shx mv ./tsconfig.i18n.json ./tsconfig.json\",\r\n\"i18n\": \"ng-xi18n && shx mv ./messages.xlf ./src/app/locale\",\r\n\"posti18n\": \"shx mv ./tsconfig.json ./tsconfig.i18n.json && shx mv ./tsconfig.bak.json ./tsconfig.json && rimraf ./temp\"\r\n```\r\n\r\n`tsconfig.i18n.json` contains `\"outDir\": \"temp\",`."}}
{"actor":{"display_login":"Martin-Wegner"}}