From 800f35049f1fc77f91699f5bb5dad2b742439469 Mon Sep 17 00:00:00 2001 From: xyzshen <304565162@qq.com> Date: Mon, 8 Jul 2019 18:07:22 +0800 Subject: [PATCH 1/6] =?UTF-8?q?=E5=87=8F=E5=B0=8F=E4=BD=93=E7=A7=AF=20?= =?UTF-8?q?=E6=8C=89=E9=9C=80=E5=8A=A0=E8=BD=BDsoljson=E7=AD=89?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xyzshen <304565162@qq.com> --- .babelrc | 2 +- build/webpack.prod.conf.js | 23 +++-- dist/index.html | 2 +- ...nfont.1ad123d.svg => iconfont.3f3f197.svg} | 0 dist/static/js/0.35a8714fcc595dbfe80d.js | 47 ++++++++++ dist/static/js/0.de1aefdc451ad97ba90b.js | 18 ---- dist/static/js/1.0ff5e3f2610a93219cfe.js | 1 - dist/static/js/1.859737fcb074116509ce.js | 17 ++++ dist/static/js/10.21e4539bbfd6d70b0348.js | 1 + dist/static/js/10.306f5f0c03784b167f09.js | 1 - dist/static/js/11.231aec85ee044d254525.js | 1 + dist/static/js/11.56416960f3e2b37b85b4.js | 1 - dist/static/js/12.6873f2c4d30415930a49.js | 1 - dist/static/js/12.db6be53f93bcd561ffcc.js | 1 + dist/static/js/13.8f251c7d62e771385453.js | 1 + dist/static/js/13.e4116863bea280e89fa5.js | 1 - dist/static/js/14.61e323790aa7d8b8c7d7.js | 1 + dist/static/js/14.e15e44959253d38bb3e9.js | 1 - dist/static/js/15.4b1e136f17e7c420445b.js | 1 - dist/static/js/15.bb12eec3913722406684.js | 1 + dist/static/js/16.a5fd7028a0bf784f1ebf.js | 1 - dist/static/js/16.ff24fd1f4b699976a268.js | 1 + dist/static/js/17.05bb902ee47645c45f1e.js | 1 + dist/static/js/17.f35c1f8cf9b57f0f809d.js | 1 - dist/static/js/18.c30658853688939e665c.js | 1 + dist/static/js/18.e2862b2abb8e96ed1ec8.js | 1 - dist/static/js/19.77eaf8c05f39aac57315.js | 1 + dist/static/js/19.d89805ef097530d36092.js | 1 - dist/static/js/2.c471c3c191aa69ecf56d.js | 1 - ...7d583c6ae.js => 2.eb84af029152be33505f.js} | 2 +- dist/static/js/20.a6b8e9800762849939b2.js | 1 - dist/static/js/20.f683335b18e2c39f05d8.js | 1 + dist/static/js/21.3991851e45679dbca0a9.js | 1 - dist/static/js/21.40964c5fb8a5534afab7.js | 1 + dist/static/js/22.b82ed8dd1a2a4a21fa55.js | 1 - dist/static/js/22.d17b6562dce148919d93.js | 1 + dist/static/js/23.5c7f892b91259f8808e9.js | 1 - dist/static/js/24.a8a1b6abc239aab80fea.js | 1 - dist/static/js/3.549652ad81afaec1f0d2.js | 1 + dist/static/js/3.a6808dbb488632e9d47b.js | 1 - dist/static/js/5.291fe8da2c09b6ee1dec.js | 30 +++++++ dist/static/js/5.51bf25e5988ac7e84d7d.js | 1 - dist/static/js/6.3374b220bbbc6143c7bb.js | 19 ++++ dist/static/js/7.181dedca0e1f106a1ee0.js | 89 ------------------- dist/static/js/7.dd2e9c7c23c3f64d092e.js | 1 + dist/static/js/8.295256dc7eebeb5aa84b.js | 1 + dist/static/js/8.c82072917d35815e0616.js | 19 ---- dist/static/js/9.1384a08581cb0430630c.js | 1 - dist/static/js/9.f4f5ed3bc7344685ede9.js | 1 + .../static/js/runtime.91671e67bccfd6c9ade7.js | 1 + .../static/js/runtime.ce0e8272d26d5c74f306.js | 1 - index.html | 1 - package.json | 1 + src/views/chaincode/components/code.vue | 29 +++--- 54 files changed, 166 insertions(+), 172 deletions(-) rename dist/static/img/{iconfont.1ad123d.svg => iconfont.3f3f197.svg} (100%) create mode 100644 dist/static/js/0.35a8714fcc595dbfe80d.js delete mode 100644 dist/static/js/0.de1aefdc451ad97ba90b.js delete mode 100644 dist/static/js/1.0ff5e3f2610a93219cfe.js create mode 100644 dist/static/js/1.859737fcb074116509ce.js create mode 100644 dist/static/js/10.21e4539bbfd6d70b0348.js delete mode 100644 dist/static/js/10.306f5f0c03784b167f09.js create mode 100644 dist/static/js/11.231aec85ee044d254525.js delete mode 100644 dist/static/js/11.56416960f3e2b37b85b4.js delete mode 100644 dist/static/js/12.6873f2c4d30415930a49.js create mode 100644 dist/static/js/12.db6be53f93bcd561ffcc.js create mode 100644 dist/static/js/13.8f251c7d62e771385453.js delete mode 100644 dist/static/js/13.e4116863bea280e89fa5.js create mode 100644 dist/static/js/14.61e323790aa7d8b8c7d7.js delete mode 100644 dist/static/js/14.e15e44959253d38bb3e9.js delete mode 100644 dist/static/js/15.4b1e136f17e7c420445b.js create mode 100644 dist/static/js/15.bb12eec3913722406684.js delete mode 100644 dist/static/js/16.a5fd7028a0bf784f1ebf.js create mode 100644 dist/static/js/16.ff24fd1f4b699976a268.js create mode 100644 dist/static/js/17.05bb902ee47645c45f1e.js delete mode 100644 dist/static/js/17.f35c1f8cf9b57f0f809d.js create mode 100644 dist/static/js/18.c30658853688939e665c.js delete mode 100644 dist/static/js/18.e2862b2abb8e96ed1ec8.js create mode 100644 dist/static/js/19.77eaf8c05f39aac57315.js delete mode 100644 dist/static/js/19.d89805ef097530d36092.js delete mode 100644 dist/static/js/2.c471c3c191aa69ecf56d.js rename dist/static/js/{4.c8a4132a5e17d583c6ae.js => 2.eb84af029152be33505f.js} (99%) delete mode 100644 dist/static/js/20.a6b8e9800762849939b2.js create mode 100644 dist/static/js/20.f683335b18e2c39f05d8.js delete mode 100644 dist/static/js/21.3991851e45679dbca0a9.js create mode 100644 dist/static/js/21.40964c5fb8a5534afab7.js delete mode 100644 dist/static/js/22.b82ed8dd1a2a4a21fa55.js create mode 100644 dist/static/js/22.d17b6562dce148919d93.js delete mode 100644 dist/static/js/23.5c7f892b91259f8808e9.js delete mode 100644 dist/static/js/24.a8a1b6abc239aab80fea.js create mode 100644 dist/static/js/3.549652ad81afaec1f0d2.js delete mode 100644 dist/static/js/3.a6808dbb488632e9d47b.js create mode 100644 dist/static/js/5.291fe8da2c09b6ee1dec.js delete mode 100644 dist/static/js/5.51bf25e5988ac7e84d7d.js create mode 100644 dist/static/js/6.3374b220bbbc6143c7bb.js delete mode 100644 dist/static/js/7.181dedca0e1f106a1ee0.js create mode 100644 dist/static/js/7.dd2e9c7c23c3f64d092e.js create mode 100644 dist/static/js/8.295256dc7eebeb5aa84b.js delete mode 100644 dist/static/js/8.c82072917d35815e0616.js delete mode 100644 dist/static/js/9.1384a08581cb0430630c.js create mode 100644 dist/static/js/9.f4f5ed3bc7344685ede9.js create mode 100644 dist/static/js/runtime.91671e67bccfd6c9ade7.js delete mode 100644 dist/static/js/runtime.ce0e8272d26d5c74f306.js diff --git a/.babelrc b/.babelrc index 099e42d7..4595756e 100644 --- a/.babelrc +++ b/.babelrc @@ -8,5 +8,5 @@ }], "stage-2" ], - "plugins": ["transform-vue-jsx", "transform-runtime"] + "plugins": ["transform-vue-jsx", "transform-runtime", ["component", {"libraryName":"element-ui", "styleLibraryName": "theme-chalk"}]] } diff --git a/build/webpack.prod.conf.js b/build/webpack.prod.conf.js index 6cce272e..5a61419e 100644 --- a/build/webpack.prod.conf.js +++ b/build/webpack.prod.conf.js @@ -26,6 +26,11 @@ const webpackConfig = merge(baseWebpackConfig, { optimization: { splitChunks: { cacheGroups: { + common: { + name: 'common', + chunks: 'all', + test: /vue/ + }, vendors: { test: /[\\/]node_modules[\\/]/, chunks: 'initial', @@ -53,15 +58,15 @@ const webpackConfig = merge(baseWebpackConfig, { new webpack.DefinePlugin({ 'process.env': env }), - // new UglifyJsPlugin({ - // uglifyOptions: { - // compress: { - // warnings: false - // } - // }, - // sourceMap: config.build.productionSourceMap, - // parallel: true - // }), + new UglifyJsPlugin({ + uglifyOptions: { + compress: { + warnings: false + } + }, + sourceMap: config.build.productionSourceMap, + parallel: true, + }), // extract css into its own file // new ExtractTextPlugin({ // filename: utils.assetsPath('css/[name].[contenthash].css'), diff --git a/dist/index.html b/dist/index.html index cb340c5c..bc24afb5 100644 --- a/dist/index.html +++ b/dist/index.html @@ -11,7 +11,7 @@ vertical-align: -0.15em; fill: currentColor; overflow: hidden; - }
- =E9=80=A0=E6=88=90=E7=9A=84b?= =?UTF-8?q?ug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: xyzshen <304565162@qq.com> --- dist/index.html | 2 +- ...35a8714fcc595dbfe80d.js => 0.4b88eb590d644e726b0e.js} | 8 ++++---- src/views/chaincode/components/code.vue | 9 ++++++--- 3 files changed, 11 insertions(+), 8 deletions(-) rename dist/static/js/{0.35a8714fcc595dbfe80d.js => 0.4b88eb590d644e726b0e.js} (73%) diff --git a/dist/index.html b/dist/index.html index bc24afb5..3653a90a 100644 --- a/dist/index.html +++ b/dist/index.html @@ -11,7 +11,7 @@ vertical-align: -0.15em; fill: currentColor; overflow: hidden; - }