diff options
author | Phil Hughes <me@iamphill.com> | 2018-03-01 18:12:27 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2018-03-01 18:12:27 +0000 |
commit | 868c27def75dde446c22872ae9b2bfc1e7eba969 (patch) | |
tree | bca37a33f79e57da99f6a1e9f8415c4a34f1d1c7 /config | |
parent | 11d275e24a49a5ae2c844b099cfddc7054178830 (diff) | |
parent | 41bba60490afd007ff859e39979a4080170e712f (diff) | |
download | gitlab-ce-868c27def75dde446c22872ae9b2bfc1e7eba969.tar.gz |
Merge branch 'remove-blob-viewer-bundles' into 'master'
Remove blob viewer bundles
See merge request gitlab-org/gitlab-ce!17446
Diffstat (limited to 'config')
-rw-r--r-- | config/webpack.config.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/config/webpack.config.js b/config/webpack.config.js index 4611544226d..cd7fec48c31 100644 --- a/config/webpack.config.js +++ b/config/webpack.config.js @@ -43,15 +43,10 @@ function generateEntries() { autoEntriesCount = Object.keys(autoEntries).length; const manualEntries = { - balsamiq_viewer: './blob/balsamiq_viewer.js', monitoring: './monitoring/monitoring_bundle.js', mr_notes: './mr_notes/index.js', - notebook_viewer: './blob/notebook_viewer.js', - pdf_viewer: './blob/pdf_viewer.js', protected_branches: './protected_branches', registry_list: './registry/index.js', - sketch_viewer: './blob/sketch_viewer.js', - stl_viewer: './blob/stl_viewer.js', terminal: './terminal/terminal_bundle.js', two_factor_auth: './two_factor_auth.js', @@ -220,22 +215,6 @@ const config = { return `${moduleNames[0]}-${hash.substr(0, 6)}`; }), - // create cacheable common library bundle for all vue chunks - new webpack.optimize.CommonsChunkPlugin({ - name: 'common_vue', - chunks: [ - 'monitoring', - 'mr_notes', - 'notebook_viewer', - 'pdf_viewer', - 'registry_list', - 'ide', - ], - minChunks: function(module, count) { - return module.resource && (/vue_shared/).test(module.resource); - }, - }), - // create cacheable common library bundles new webpack.optimize.CommonsChunkPlugin({ names: ['main', 'common', 'webpack_runtime'], |