From 3f8361af0535b5d7a6cf55240efeb6927472e822 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=87=E5=A4=A9?= Date: Fri, 8 Jan 2021 10:14:44 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pack.config.js | 2 +- package.json | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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",