{"action":"closed","issue":{"url":"https://api.github.com/repos/rails/webpacker/issues/1235","repository_url":"https://api.github.com/repos/rails/webpacker","labels_url":"https://api.github.com/repos/rails/webpacker/issues/1235/labels{/name}","comments_url":"https://api.github.com/repos/rails/webpacker/issues/1235/comments","events_url":"https://api.github.com/repos/rails/webpacker/issues/1235/events","html_url":"https://github.com/rails/webpacker/issues/1235","id":292883430,"node_id":"MDU6SXNzdWUyOTI4ODM0MzA=","number":1235,"title":"webpacker 3.2.1 hardcodes uglifyOptions: { ecma: 8 } which ignores Babel target options and breaks IE11 compatibility","user":{"login":"shepmaster","id":174509,"node_id":"MDQ6VXNlcjE3NDUwOQ==","avatar_url":"https://avatars0.githubusercontent.com/u/174509?v=4","gravatar_id":"","url":"https://api.github.com/users/shepmaster","html_url":"https://github.com/shepmaster","followers_url":"https://api.github.com/users/shepmaster/followers","following_url":"https://api.github.com/users/shepmaster/following{/other_user}","gists_url":"https://api.github.com/users/shepmaster/gists{/gist_id}","starred_url":"https://api.github.com/users/shepmaster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shepmaster/subscriptions","organizations_url":"https://api.github.com/users/shepmaster/orgs","repos_url":"https://api.github.com/users/shepmaster/repos","events_url":"https://api.github.com/users/shepmaster/events{/privacy}","received_events_url":"https://api.github.com/users/shepmaster/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2018-01-30T18:09:34Z","updated_at":"2018-07-18T17:39:25Z","closed_at":"2018-07-18T17:39:25Z","author_association":"NONE","body":"Dumping out the Webpack config in production mode, I have this piece of configuration:\r\n\r\n```js\r\n\"uglifyOptions\": {\r\n  \"output\": {\r\n    \"ascii_only\": true\r\n  },\r\n  \"ie8\": false,\r\n  \"ecma\": 8,\r\n  \"warnings\": false,\r\n  \"mangle\": {\r\n    \"safari10\": true\r\n  },\r\n  \"compress\": {\r\n    \"warnings\": false,\r\n    \"comparisons\": false\r\n  }\r\n}\r\n```\r\n\r\nThis seems to be from  a5e76b80887c929105221a4333ed0c05ac99d17e and thus introduced in 3.2.1.\r\n\r\nThis affects us because we are using the `remarkable` package, which contains some JS like `{Afr:\"𝔄\",}`, which Babel properly converts to `{Afr:\"\\uD835\\uDD04\",}`, but then Uglify shortens back to `{Afr:\"\\u{1d504}\",}`. This latter syntax isn't supported by IE11, causing issues in production, specifically the error \"Expected hexadecimal digit\".\r\n\r\nRelated to  #1211"}}
{"actor":{"display_login":"gauravtiwari"}}