问题描述:

前端项目访问,js访问报404

npm打包丢包core-js,丢失es6.regexp.split.js,丢失es6.regexp.replace问题解决

 

 

问题解决:

1.重装@babel/polyfill

命令:

npm uninstall @babel/polyfill --save && npm install @babel/polyfill --save

 

 

2.提交的时候,把es6.regexp.replace 等 core-js下的所有js文件提交,一起打包发布

 

即可解决

 

相关文章:

  • 2021-10-01
  • 2021-05-01
  • 2021-07-10
  • 2022-01-01
  • 2021-05-30
  • 2021-07-25
  • 2021-07-05
  • 2021-05-22
猜你喜欢
  • 2018-03-03
  • 2022-01-09
  • 2021-08-01
  • 2021-07-13
  • 2022-12-23
  • 2021-06-28
相关资源
相似解决方案