From 2de333db4ca9251e17dbeaa475a10f6f01d60402 Mon Sep 17 00:00:00 2001 From: CodFrm Date: Sun, 23 Dec 2018 15:50:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9package=E9=80=9A=E8=BF=87CI?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- package.json | 10 +++++----- webpack.prod.js | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/package.json b/package.json index 3dc4fcc6..0582f48c 100644 --- a/package.json +++ b/package.json @@ -20,15 +20,15 @@ }, "homepage": "https://github.com/CodFrm/cxmooc-tools#readme", "devDependencies": { + "html-webpack-plugin": "^3.2.0", "webpack": "^4.20.2", "webpack-cli": "^3.1.2", - "webpack-merge": "^4.1.4", - "html-webpack-plugin": "^3.2.0" + "webpack-merge": "^4.1.4" }, "dependencies": { - "md5": "^2.2.1", + "body-parser": "^1.18.3", "express": "^4.16.3", - "mongodb": "^3.1.6", - "body-parser": "^1.18.3" + "md5": "^2.2.1", + "mongodb": "^3.1.10" } } diff --git a/webpack.prod.js b/webpack.prod.js index ad954ece..d22428bb 100644 --- a/webpack.prod.js +++ b/webpack.prod.js @@ -1,9 +1,9 @@ const merge = require('webpack-merge'); -const UglifyJSPlugin = require('uglifyjs-webpack-plugin'); +// const UglifyJSPlugin = require('uglifyjs-webpack-plugin'); const common = require('./webpack.config.js'); module.exports = merge(common, { plugins: [ - new UglifyJSPlugin() + // new UglifyJSPlugin() ] }) \ No newline at end of file