{"action":"created","issue":{"url":"https://api.github.com/repos/thredup/rollbar-sourcemap-webpack-plugin/issues/34","repository_url":"https://api.github.com/repos/thredup/rollbar-sourcemap-webpack-plugin","labels_url":"https://api.github.com/repos/thredup/rollbar-sourcemap-webpack-plugin/issues/34/labels{/name}","comments_url":"https://api.github.com/repos/thredup/rollbar-sourcemap-webpack-plugin/issues/34/comments","events_url":"https://api.github.com/repos/thredup/rollbar-sourcemap-webpack-plugin/issues/34/events","html_url":"https://github.com/thredup/rollbar-sourcemap-webpack-plugin/issues/34","id":222489915,"number":34,"title":"Does this work with Webpack2?","user":{"login":"NullVoxPopuli","id":199018,"avatar_url":"https://avatars2.githubusercontent.com/u/199018?v=3","gravatar_id":"","url":"https://api.github.com/users/NullVoxPopuli","html_url":"https://github.com/NullVoxPopuli","followers_url":"https://api.github.com/users/NullVoxPopuli/followers","following_url":"https://api.github.com/users/NullVoxPopuli/following{/other_user}","gists_url":"https://api.github.com/users/NullVoxPopuli/gists{/gist_id}","starred_url":"https://api.github.com/users/NullVoxPopuli/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/NullVoxPopuli/subscriptions","organizations_url":"https://api.github.com/users/NullVoxPopuli/orgs","repos_url":"https://api.github.com/users/NullVoxPopuli/repos","events_url":"https://api.github.com/users/NullVoxPopuli/events{/privacy}","received_events_url":"https://api.github.com/users/NullVoxPopuli/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-04-18T17:31:39Z","updated_at":"2017-04-19T20:14:25Z","closed_at":null,"body":"I have this in my production.js, but I see in rollbar that no sourcemaps have been uploaded\r\n\r\n```js\r\n\r\nconfig.plugins.push(\r\n  new RollbarSourceMapPlugin({\r\n    accessToken: process.env.ROLLBAR_POST_SERVER_ITEM,\r\n    version: process.env.ROLLBAR_VERSION,\r\n    publicPath: `${process.env.API_HOST}/assets`\r\n  })\r\n)\r\n\r\nmodule.exports = config;\r\n```\r\n\r\nThere doesn't seem to be any rollbar-related output in my build -- is this normal?"},"comment":{"url":"https://api.github.com/repos/thredup/rollbar-sourcemap-webpack-plugin/issues/comments/295421336","html_url":"https://github.com/thredup/rollbar-sourcemap-webpack-plugin/issues/34#issuecomment-295421336","issue_url":"https://api.github.com/repos/thredup/rollbar-sourcemap-webpack-plugin/issues/34","id":295421336,"user":{"login":"brandondoran","id":1189930,"avatar_url":"https://avatars0.githubusercontent.com/u/1189930?v=3","gravatar_id":"","url":"https://api.github.com/users/brandondoran","html_url":"https://github.com/brandondoran","followers_url":"https://api.github.com/users/brandondoran/followers","following_url":"https://api.github.com/users/brandondoran/following{/other_user}","gists_url":"https://api.github.com/users/brandondoran/gists{/gist_id}","starred_url":"https://api.github.com/users/brandondoran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brandondoran/subscriptions","organizations_url":"https://api.github.com/users/brandondoran/orgs","repos_url":"https://api.github.com/users/brandondoran/repos","events_url":"https://api.github.com/users/brandondoran/events{/privacy}","received_events_url":"https://api.github.com/users/brandondoran/received_events","type":"User","site_admin":false},"created_at":"2017-04-19T20:14:25Z","updated_at":"2017-04-19T20:14:25Z","body":"Yes, this is in use with Webpack 2 in production. When you run your build, you should be seeing output like:\r\n```bash\r\nUploaded vendor-15-5f105f75.js.map to Rollbar\r\nUploaded app-16-f5086aff.js.map to Rollbar\r\n```\r\n\r\nI don't see anything wrong with that config snippet. Some things to try:\r\n- Are sourcemaps actually being generated in your build? If not, you wouldn't see any output from this plugin.\r\n- Take a look in rollbar and see if you see any sourcemaps: https://rollbar.com/ACCOUNT/PRJECT/settings/source_maps/\r\n\r\nIf you have a public repo, I can take a closer look."}}
{"actor":{"display_login":"brandondoran"}}