uglify js error unexpected token eof “undefined”

后端 未结 5 2073
时光取名叫无心
时光取名叫无心 2021-01-18 07:36

So I installed npm using npm install uglify-js

I run a command which is:

cat file1.js file2.js .. fileN.js | uglifyjs -o files.min.js
5条回答
  •  再見小時候
    2021-01-18 08:23

    This could also be because of a bug in UglifyJS when reading from stdin. See https://github.com/mishoo/UglifyJS2/issues/85 for details.

提交回复
热议问题