uglify js error unexpected token eof “undefined”

后端 未结 5 2064
时光取名叫无心
时光取名叫无心 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:25

    I got this same error with ember:

    Build Error (UglifyWriter)
    Unexpected token: eof (undefined)
    

    The solution was to update ember-cli-moment-shim to version v3.8.0

提交回复
热议问题