{"action":"opened","issue":{"url":"https://api.github.com/repos/s-panferov/awesome-typescript-loader/issues/171","repository_url":"https://api.github.com/repos/s-panferov/awesome-typescript-loader","labels_url":"https://api.github.com/repos/s-panferov/awesome-typescript-loader/issues/171/labels{/name}","comments_url":"https://api.github.com/repos/s-panferov/awesome-typescript-loader/issues/171/comments","events_url":"https://api.github.com/repos/s-panferov/awesome-typescript-loader/issues/171/events","html_url":"https://github.com/s-panferov/awesome-typescript-loader/issues/171","id":161448153,"number":171,"title":"Error when using inline sourcemaps","user":{"login":"spiffytech","id":77867,"avatar_url":"https://avatars.githubusercontent.com/u/77867?v=3","gravatar_id":"","url":"https://api.github.com/users/spiffytech","html_url":"https://github.com/spiffytech","followers_url":"https://api.github.com/users/spiffytech/followers","following_url":"https://api.github.com/users/spiffytech/following{/other_user}","gists_url":"https://api.github.com/users/spiffytech/gists{/gist_id}","starred_url":"https://api.github.com/users/spiffytech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spiffytech/subscriptions","organizations_url":"https://api.github.com/users/spiffytech/orgs","repos_url":"https://api.github.com/users/spiffytech/repos","events_url":"https://api.github.com/users/spiffytech/events{/privacy}","received_events_url":"https://api.github.com/users/spiffytech/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-06-21T14:13:53Z","updated_at":"2016-06-21T14:13:53Z","closed_at":null,"body":"I'm using inline sourcemaps but awesome-typescript-loader is compiling my code with `sourceMaps` enabled, which is incompatible.\r\n\r\n**WebPack output / error**\r\n```\r\n$ node_modules/.bin/webpack --display-error-details\r\nHash: 3d6566755644095c840b\r\nVersion: webpack 1.13.1\r\nTime: 774ms\r\n     Asset     Size  Chunks             Chunk Names\r\nwebpack.js  5.04 kB       0  [emitted]  main\r\n    + 1 hidden modules\r\n\r\nERROR in [default] \r\nOption 'sourceMap' cannot be specified with option 'inlineSourceMap'.\r\n```\r\n\r\n**webpack.config.js**\r\n\r\n```\r\nconst webpack = require(\"webpack\");\r\nconst path = require(\"path\");\r\n\r\nmodule.exports = {\r\n  entry: \"./index\",\r\n  output: {\r\n    path: path.join(__dirname, \"out\"),\r\n    filename: \"webpack.js\"\r\n  },\r\n  // Turn on sourcemaps\r\n  devtool: \"inline-source-map\",\r\n  resolve: {\r\n    extensions: [\".ts\"]\r\n  },\r\n  module: {\r\n    loaders: [\r\n      {\r\n        test: /\\.ts$/,\r\n        exclude: [/node_modules/],\r\n        loader: \"awesome-typescript-loader\"\r\n      },\r\n    ]\r\n  },\r\n};\r\n```\r\n\r\n**tsconfig.json**\r\n\r\n```\r\n{\r\n    \"compilerOptions\": {\r\n        \"module\": \"commonjs\",\r\n        \"target\": \"es5\",\r\n        \"noImplicitAny\": false,\r\n        \"inlineSourceMap\": true,\r\n        \"inlineSources\": true\r\n    },\r\n    \"files\": [\r\n        \"index.ts\"\r\n    ],\r\n    \"exclude\": [\r\n        \"node_modules\"\r\n    ]\r\n}\r\n```"}}
{"actor":{"display_login":"spiffytech"}}