mirror of
https://github.com/overleaf/overleaf.git
synced 2024-11-29 05:03:33 -05:00
Allow non-async chunks to be analysed for shared modules (#14671)
GitOrigin-RevId: a07cd29366b360452461ce3c637cf5803275492c
This commit is contained in:
parent
f7e4946056
commit
b21e06952e
1 changed files with 7 additions and 0 deletions
|
@ -108,6 +108,13 @@ module.exports = {
|
|||
library: ['Frontend', '[name]'],
|
||||
},
|
||||
|
||||
optimization: {
|
||||
// https://webpack.js.org/plugins/split-chunks-plugin/#splitchunkschunks
|
||||
splitChunks: {
|
||||
chunks: 'all', // allow non-async chunks to be analysed for shared modules
|
||||
},
|
||||
},
|
||||
|
||||
// Define how file types are handled by webpack
|
||||
module: {
|
||||
rules: [
|
||||
|
|
Loading…
Reference in a new issue