{"action":"created","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6278","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6278/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6278/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6278/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/6278","id":337981607,"node_id":"MDU6SXNzdWUzMzc5ODE2MDc=","number":6278,"title":"🗺 v2 with styled-components not working sourcemaps","user":{"login":"shelldandy","id":7088511,"node_id":"MDQ6VXNlcjcwODg1MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/7088511?v=4","gravatar_id":"","url":"https://api.github.com/users/shelldandy","html_url":"https://github.com/shelldandy","followers_url":"https://api.github.com/users/shelldandy/followers","following_url":"https://api.github.com/users/shelldandy/following{/other_user}","gists_url":"https://api.github.com/users/shelldandy/gists{/gist_id}","starred_url":"https://api.github.com/users/shelldandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shelldandy/subscriptions","organizations_url":"https://api.github.com/users/shelldandy/orgs","repos_url":"https://api.github.com/users/shelldandy/repos","events_url":"https://api.github.com/users/shelldandy/events{/privacy}","received_events_url":"https://api.github.com/users/shelldandy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-07-03T16:58:28Z","updated_at":"2018-07-03T18:30:38Z","closed_at":null,"author_association":"NONE","body":"## Description\r\n\r\nDescribe the issue that you're seeing.\r\n\r\n### Steps to reproduce\r\n\r\nStart a new Gatsby project on v2, add gatsby-plugin-styled-components v3\r\n\r\n### Expected result\r\n\r\nSourcemaps show original file names/code to debug (at least in development)\r\n\r\n### Actual result\r\n\r\n![screen shot 2018-07-03 at 11 54 48 am](https://user-images.githubusercontent.com/7088511/42233715-e962c460-7eb7-11e8-8cb9-917549c12a81.png)\r\n\r\nSourcemaps shown already compiled code 🤔 \r\n\r\n### Environment\r\n\r\n```\r\n  System:\r\n    OS: macOS High Sierra 10.13.5\r\n    CPU: x64 Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz\r\n    Shell: 2.7.1 - /usr/local/bin/fish\r\n  Binaries:\r\n    Node: 8.11.1 - ~/.nvm/versions/node/v8.11.1/bin/node\r\n    Yarn: 1.7.0 - /usr/local/bin/yarn\r\n    npm: 6.1.0 - ~/.nvm/versions/node/v8.11.1/bin/npm\r\n  Browsers:\r\n    Chrome: 67.0.3396.99\r\n    Firefox: 58.0\r\n    Safari: 11.1.1\r\n  npmPackages:\r\n    gatsby: ^2.0.0-beta.9 => 2.0.0-beta.9 \r\n    gatsby-plugin-styled-components: ^3.0.0-beta.2 => 3.0.0-beta.2 \r\n```\r\n\r\n### File contents (if changed)\r\n\r\n`gatsby-config.js`:\r\n```js\r\nmodule.exports = {\r\n\tplugins: [\r\n\t\t{\r\n\t\t\tresolve: `gatsby-plugin-styled-components`,\r\n\t\t\toptions: {\r\n\t\t\t\tdisplayName: process.env.NODE_ENV === 'development'\r\n\t\t\t},\r\n\t\t},\r\n\t],\r\n};\r\n```\r\n\r\n`package.json`: N/A <!-- Please use a code block or just leave it as is if wasn't changed -->\r\n`gatsby-node.js`: N/A <!-- Please use a code block or just leave it as is if wasn't changed -->\r\n`gatsby-browser.js`: N/A <!-- Please use a code block or just leave it as is if wasn't changed -->\r\n`gatsby-ssr.js`: N/A <!-- Please use a code block or just leave it as is if wasn't changed -->\r\n"},"comment":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/comments/402252135","html_url":"https://github.com/gatsbyjs/gatsby/issues/6278#issuecomment-402252135","issue_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/6278","id":402252135,"node_id":"MDEyOklzc3VlQ29tbWVudDQwMjI1MjEzNQ==","user":{"login":"shelldandy","id":7088511,"node_id":"MDQ6VXNlcjcwODg1MTE=","avatar_url":"https://avatars3.githubusercontent.com/u/7088511?v=4","gravatar_id":"","url":"https://api.github.com/users/shelldandy","html_url":"https://github.com/shelldandy","followers_url":"https://api.github.com/users/shelldandy/followers","following_url":"https://api.github.com/users/shelldandy/following{/other_user}","gists_url":"https://api.github.com/users/shelldandy/gists{/gist_id}","starred_url":"https://api.github.com/users/shelldandy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shelldandy/subscriptions","organizations_url":"https://api.github.com/users/shelldandy/orgs","repos_url":"https://api.github.com/users/shelldandy/repos","events_url":"https://api.github.com/users/shelldandy/events{/privacy}","received_events_url":"https://api.github.com/users/shelldandy/received_events","type":"User","site_admin":false},"created_at":"2018-07-03T18:30:38Z","updated_at":"2018-07-03T18:30:38Z","author_association":"NONE","body":"Yes it's added, i mean styled-components work, sourcemaps dont"}}
{"actor":{"display_login":"shelldandy"}}