From d799adeee494d85e7460a5033e0f8004f8bb9a30 Mon Sep 17 00:00:00 2001 From: tibing Date: Mon, 4 Jul 2016 18:01:53 +0300 Subject: [PATCH] fix(ckeditor): fix Cannot read property exception --- bower.json | 1 - config/webpack.prod.js | 5 +---- package.json | 1 + 3 files changed, 2 insertions(+), 5 deletions(-) diff --git a/bower.json b/bower.json index 6d0d64a8..8924dd71 100644 --- a/bower.json +++ b/bower.json @@ -17,6 +17,5 @@ ], "dependencies": { "Ionicons": "ionicons#~2.0.1", - "ckeditor": "^4.5.9" } } diff --git a/config/webpack.prod.js b/config/webpack.prod.js index 3c5d8c3d..bb532d1d 100644 --- a/config/webpack.prod.js +++ b/config/webpack.prod.js @@ -154,10 +154,7 @@ module.exports = webpackMerge(commonConfig, { beautify: false, //prod - mangle: { - screw_ie8 : true, - keep_fnames: true - }, //prod + mangle: false, //prod compress: { screw_ie8: true diff --git a/package.json b/package.json index 1f653a6a..7c1b63ac 100644 --- a/package.json +++ b/package.json @@ -22,6 +22,7 @@ "bootstrap-loader": "^1.0.8", "chart.js": "^1.1.1", "chartist": "^0.9.7", + "ckeditor": "^4.5.9", "core-js": "^2.4.0", "easy-pie-chart": "^2.1.7", "extract-text-webpack-plugin": "^1.0.1",