Replace uglify-es with terser

This commit is contained in:
Mimi 2020-01-28 19:46:14 +08:00
parent ecf25f65a2
commit 182d3a1d76
2 changed files with 12 additions and 3 deletions

View File

@ -4,7 +4,7 @@
"description": "An multiplayer-IO type game (cloned from Paper-IO)", "description": "An multiplayer-IO type game (cloned from Paper-IO)",
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
"build": "browserify client.js | uglifyjs > public/js/bundle.js" "build": "browserify client.js | terser > public/js/bundle.js"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
@ -26,6 +26,6 @@
"express": "^4.17.1", "express": "^4.17.1",
"socket.io": "^2.3.0", "socket.io": "^2.3.0",
"socket.io-client": "^2.3.0", "socket.io-client": "^2.3.0",
"uglify-es": "^3.3.9" "terser": "^4.6.3"
} }
} }

File diff suppressed because one or more lines are too long