我尝试了core-js,babel-polyfill,get-own-property-symbols npm模块
"react": "^16.8.6",
"babel-core": "^6.26.3",
"babel-eslint": "^9.0.0",
"babel-jest": "^23.6.0",
"babel-loader": "^7.1.4",
"babel-preset-env": "^1.6.1",
"babel-preset-react": "^6.24.1",
"styled-components": "^4.3.2"
更新样式化组件后,它在IE 11中停止工作,并且我在IE 11中出现以下错误消息,并且在合并任何内容的模块中找到
SCRIPT438: Object doesn't support property or method 'getOwnPropertySymbols'