ReactJS - SCRIPT1010: Expected identifier - Production build not running on IE11

前端 未结 4 1545
失恋的感觉
失恋的感觉 2020-12-10 04:13

I created a new project with create-react-app today. The production build is not running fine on IE11, the console shows following error:

SCRIPT1010: Expected

4条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-10 04:40

    It seems like the order of polyfills is also a factor. There are several solutions in this issue that could help resolve this. https://github.com/facebook/react/issues/8379

提交回复
热议问题