{"action":"created","issue":{"url":"https://api.github.com/repos/umijs/umi/issues/1424","repository_url":"https://api.github.com/repos/umijs/umi","labels_url":"https://api.github.com/repos/umijs/umi/issues/1424/labels{/name}","comments_url":"https://api.github.com/repos/umijs/umi/issues/1424/comments","events_url":"https://api.github.com/repos/umijs/umi/issues/1424/events","html_url":"https://github.com/umijs/umi/issues/1424","id":378212382,"node_id":"MDU6SXNzdWUzNzgyMTIzODI=","number":1424,"title":"同时打开 polyfill 和 pwa 时，ie 下报错","user":{"login":"Spaceman007","id":12627808,"node_id":"MDQ6VXNlcjEyNjI3ODA4","avatar_url":"https://avatars0.githubusercontent.com/u/12627808?v=4","gravatar_id":"","url":"https://api.github.com/users/Spaceman007","html_url":"https://github.com/Spaceman007","followers_url":"https://api.github.com/users/Spaceman007/followers","following_url":"https://api.github.com/users/Spaceman007/following{/other_user}","gists_url":"https://api.github.com/users/Spaceman007/gists{/gist_id}","starred_url":"https://api.github.com/users/Spaceman007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spaceman007/subscriptions","organizations_url":"https://api.github.com/users/Spaceman007/orgs","repos_url":"https://api.github.com/users/Spaceman007/repos","events_url":"https://api.github.com/users/Spaceman007/events{/privacy}","received_events_url":"https://api.github.com/users/Spaceman007/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-11-07T09:47:05Z","updated_at":"2018-11-07T09:55:38Z","closed_at":null,"author_association":"NONE","body":"使用的 umi2.2.4，配置如下：\r\n\r\n```js\r\nexport default {\r\n  targets: {\r\n    ie: 9,\r\n  },\r\n  plugins: [\r\n    ['umi-plugin-react', {\r\n      dva: true,\r\n      antd: true,\r\n      routes: {\r\n        exclude: [\r\n          /models/,\r\n          /components/,\r\n          /utils/,\r\n        ]\r\n      },\r\n      dll: {\r\n        exclude: []\r\n      },\r\n      hardSource: true,\r\n      dynamicImport: {\r\n        webpackChunkName: true\r\n      },\r\n      chunks: ['vendors', 'umi'],\r\n      pwa: true,\r\n    }]\r\n  ],\r\n```\r\n如果去掉 `pwa: true`，ie11 能正常打开，加上就会报错"},"comment":{"url":"https://api.github.com/repos/umijs/umi/issues/comments/436568495","html_url":"https://github.com/umijs/umi/issues/1424#issuecomment-436568495","issue_url":"https://api.github.com/repos/umijs/umi/issues/1424","id":436568495,"node_id":"MDEyOklzc3VlQ29tbWVudDQzNjU2ODQ5NQ==","user":{"login":"Spaceman007","id":12627808,"node_id":"MDQ6VXNlcjEyNjI3ODA4","avatar_url":"https://avatars0.githubusercontent.com/u/12627808?v=4","gravatar_id":"","url":"https://api.github.com/users/Spaceman007","html_url":"https://github.com/Spaceman007","followers_url":"https://api.github.com/users/Spaceman007/followers","following_url":"https://api.github.com/users/Spaceman007/following{/other_user}","gists_url":"https://api.github.com/users/Spaceman007/gists{/gist_id}","starred_url":"https://api.github.com/users/Spaceman007/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Spaceman007/subscriptions","organizations_url":"https://api.github.com/users/Spaceman007/orgs","repos_url":"https://api.github.com/users/Spaceman007/repos","events_url":"https://api.github.com/users/Spaceman007/events{/privacy}","received_events_url":"https://api.github.com/users/Spaceman007/received_events","type":"User","site_admin":false},"created_at":"2018-11-07T09:55:38Z","updated_at":"2018-11-07T09:55:38Z","author_association":"NONE","body":"![screenshot from 2018-11-07 17-54-07](https://user-images.githubusercontent.com/12627808/48123979-31122c80-e2b6-11e8-8eb9-f6ea2ecfe4c3.png)\r\n\r\n![screenshot from 2018-11-07 17-55-23](https://user-images.githubusercontent.com/12627808/48124039-53a44580-e2b6-11e8-9848-a3c4e8c3a070.png)\r\n"}}
{"actor":{"display_login":"Spaceman007"}}