Commit 2568a428 by David Ormsbee

Reduce size of the commons.js bundle.

Increase the number of bundles that a chunk has to appear in to be put
into the commons.js bundle. This drastically reduces the size of the
commons.js bundle (used basically everywhere on LMS and Studio) from
953K to 188K, mostly at the cost of making AccessibilityPage and
AssetsPage (both Studio-only) larger -- 345K -> 1.1M, 91K -> 865K.
parent 171e6715
...@@ -76,7 +76,7 @@ module.exports = { ...@@ -76,7 +76,7 @@ module.exports = {
// common/djangoapps/pipeline_mako/templates/static_content.html // common/djangoapps/pipeline_mako/templates/static_content.html
name: 'commons', name: 'commons',
filename: 'commons.js', filename: 'commons.js',
minChunks: 2 minChunks: 3
}) })
], ],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment