Minify script in package.json never finishes executing

91 Views Asked by At

I want to minify/uglify a javascript file but after I run the script it never finishes executing. These are the scripts and dependencies I added to it.

"scripts": {
    "minify": "uglifyjs -i src/*.js -o build/scripts.min.js",
    "uglify": "npm run minify",
},
"devDependencies": {
    "uglify-js": "^2.8.29"
}

This is the link to the package.json in my repo. What am I doing wrong? Thanks

0

There are 0 best solutions below