{"action":"closed","issue":{"url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9034","repository_url":"https://api.github.com/repos/gatsbyjs/gatsby","labels_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9034/labels{/name}","comments_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9034/comments","events_url":"https://api.github.com/repos/gatsbyjs/gatsby/issues/9034/events","html_url":"https://github.com/gatsbyjs/gatsby/issues/9034","id":369280092,"node_id":"MDU6SXNzdWUzNjkyODAwOTI=","number":9034,"title":"Gatsby v2 - IE11 Support","user":{"login":"lovenick","id":1697076,"node_id":"MDQ6VXNlcjE2OTcwNzY=","avatar_url":"https://avatars2.githubusercontent.com/u/1697076?v=4","gravatar_id":"","url":"https://api.github.com/users/lovenick","html_url":"https://github.com/lovenick","followers_url":"https://api.github.com/users/lovenick/followers","following_url":"https://api.github.com/users/lovenick/following{/other_user}","gists_url":"https://api.github.com/users/lovenick/gists{/gist_id}","starred_url":"https://api.github.com/users/lovenick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lovenick/subscriptions","organizations_url":"https://api.github.com/users/lovenick/orgs","repos_url":"https://api.github.com/users/lovenick/repos","events_url":"https://api.github.com/users/lovenick/events{/privacy}","received_events_url":"https://api.github.com/users/lovenick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2018-10-11T19:53:40Z","updated_at":"2018-10-12T08:10:20Z","closed_at":"2018-10-12T08:10:20Z","author_association":"NONE","body":"<!--\r\n  Please fill out each section below, otherwise your issue will be closed. This info allows Gatsby maintainers to diagnose (and fix!) your issue as quickly as possible.\r\n\r\n  Useful Links:\r\n  - Documentation: https://www.gatsbyjs.org/docs/\r\n  - How to File an Issue: https://www.gatsbyjs.org/docs/how-to-file-an-issue/\r\n\r\n  Before opening a new issue, please search existing issues: https://github.com/gatsbyjs/gatsby/issues\r\n-->\r\n\r\n## Description\r\n\r\nGatsby / Babel transforms ES5 object properties to ES6 shorthand properties. \r\n\r\nWhen testing in IE11 with Gatsby and Firebase, the Firebase JS throws `Expected ':'`. Upon inspection, the minified source code includes:\r\n\r\n`{..., apps:null,Promise,SDK_VERSION:\"5.5.0\", ...}` \r\n\r\nObviously IE chokes on the shorthand property. It doesn't look like the Firebase module ships with shorthand properties, so it must occur in Gatsby transpiling. Plus, I was able to test the theory by manually changing the variable names in the Firebase module (from `{..., Promise: Promise, ...}` to `{..., Promise: _Promise, ...}`) which corrected the issue.\r\n\r\nIt appears the Babel presets don't affect node_modules, but still transpile the source. \r\n\r\nSo is this a Gatsby config issue or Babel?\r\n\r\n### Steps to reproduce\r\n\r\n### Issue 1\r\n1. use 'firebase/app' module in a Gatsby v2 project\r\n2. build and test in IE11\r\n\r\n### Expected result\r\n\r\nIt should render.\r\n\r\n### Actual result\r\n\r\nBlank screen with console errors.\r\n\r\n### Environment\r\n\r\nSystem:\r\n    OS: macOS High Sierra 10.13.6\r\n    CPU: x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz\r\n    Shell: 5.3 - /bin/zsh\r\n\r\nBinaries:\r\n    Node: 8.11.1 - ~/.nvm/versions/node/v8.11.1/bin/node\r\n    Yarn: 1.9.4 - /usr/local/bin/yarn\r\n    npm: 6.4.1 - ~/.nvm/versions/node/v8.11.1/bin/npm\r\n  \r\nBrowsers:\r\n    Chrome: 69.0.3497.100\r\n    Firefox: 62.0.2\r\n    Safari: 12.0\r\n  \r\nnpmPackages:\r\n    gatsby: ^2.0.21 => 2.0.21\r\n    gatsby-cli: ^2.4.3 => 2.4.3\r\n    gatsby-plugin-favicon: ^3.1.4 => 3.1.4\r\n    gatsby-plugin-sentry: ^0.1.0 => 0.1.0\r\n    gatsby-plugin-styled-components: ^3.0.0-rc.5 => 3.0.0-rc.5\r\n    gatsby-source-contentful: ^2.0.3 => 2.0.3\r\n\r\nnpmGlobalPackages:\r\n    gatsby-cli: 2.4.3\r\n"}}
{"actor":{"display_login":"kakadiadarpan"}}