diff --git a/pack.config.js b/pack.config.js index 5cab75d..3dc700a 100644 --- a/pack.config.js +++ b/pack.config.js @@ -10,7 +10,7 @@ require('es.shim') const fs = require('iofs') const path = require('path') const chokidar = require('chokidar') -const uglify = require('uglify-es') +const uglify = require('terser') const chalk = require('chalk') const config = require('./package.json') const log = console.log diff --git a/package.json b/package.json index c3b3db2..d525435 100644 --- a/package.json +++ b/package.json @@ -14,9 +14,9 @@ "devDependencies": { "chalk": "^2.4.1", "chokidar": "^2.0.4", - "es.shim": "^1.1.2", - "iofs": "^1.1.0", - "uglify-es": "^3.3.9" + "es.shim": "^2.0.1", + "iofs": "^1.5.2", + "terser": "^5.0.0" }, "repository": "https://github.com/yutent/anot.js.git", "author": "yutent",