原文:[one day one question] webpack 打包报错 Cannot assign to read only property 'exports' of object '#'

问题描述: webpack 打包报错 Cannot assign to read only property exports of object lt Object gt ,这怎么破 解决方案: 原因是:The code above is ok. You can mixrequireandexport. You can t miximportandmodule.exports 翻译过来就是说,代码 ...

2018-01-31 10:56 0 1388 推荐指数:

查看详情

 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM