Umi3 中使用react-pdf报错 Setting up fake worker failed: “Loading chunk mf-dep_pdfjsWorker faile
项目场景:umi创建的项目中使用react-pdf无法正常使用。错误信息:Settingupfakeworkerfailed:"Loadingchunkmf-dep_pdfjsWorkerfailedPS:"dependencies":{"pdfjs-dist":"3.1.81","react-pdf":"^4.2.0","umi":"^3.5.17"},原因分析:可能是umi编译的问题,没有找到