我正在使用 num2persian
将数字转换为波斯字符。当我执行命令 npm run build
时,会抛出以下错误:
Failed to minify the code from this file:
./node_modules/num2persian/src/num2persian.js:50
我做错了什么?
最佳答案
只需将react-scripts升级到版本> 2
关于javascript - num2persian 无法压缩此文件中的代码 : ./node_modules/num2persian,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57808596/