mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-05-23 17:19:37 +02:00
Move runtimeChunk optimisation to production webpack config (#18982)
GitOrigin-RevId: 99b0923cee62118fbd69e234c16bf1eb0ace6abc
This commit is contained in:
@@ -93,10 +93,4 @@ module.exports = merge(base, {
|
||||
preset: 'minimal',
|
||||
colors: true,
|
||||
},
|
||||
|
||||
optimization: {
|
||||
runtimeChunk: {
|
||||
name: 'runtime',
|
||||
},
|
||||
},
|
||||
})
|
||||
|
||||
@@ -110,6 +110,10 @@ module.exports = {
|
||||
splitChunks: {
|
||||
chunks: 'all', // allow non-async chunks to be analysed for shared modules
|
||||
},
|
||||
// https://webpack.js.org/configuration/optimization/#optimizationruntimechunk
|
||||
runtimeChunk: {
|
||||
name: 'runtime',
|
||||
},
|
||||
},
|
||||
|
||||
// Define how file types are handled by webpack
|
||||
|
||||
Reference in New Issue
Block a user