Commit 05e52544 authored by Martin Šťovíček's avatar Martin Šťovíček Committed by Joe Haddad

Always use AllModulesIdentifiedPlugin after HashedModuleIdsPlugin (#7138)

Remove selectivePageBuilding check during build.

Fixes #7109
parent 8f8e7cfb
...@@ -323,7 +323,7 @@ export default async function getBaseWebpackConfig (dir: string, {dev = false, d ...@@ -323,7 +323,7 @@ export default async function getBaseWebpackConfig (dir: string, {dev = false, d
!dev && new webpack.HashedModuleIdsPlugin(), !dev && new webpack.HashedModuleIdsPlugin(),
// This must come after HashedModuleIdsPlugin (it sets any modules that // This must come after HashedModuleIdsPlugin (it sets any modules that
// were missed by HashedModuleIdsPlugin) // were missed by HashedModuleIdsPlugin)
!dev && selectivePageBuilding && new AllModulesIdentifiedPlugin(dir), !dev && new AllModulesIdentifiedPlugin(dir),
// This sets chunk ids to be hashed versions of their names to reduce // This sets chunk ids to be hashed versions of their names to reduce
// bundle churn // bundle churn
!dev && new HashedChunkIdsPlugin(buildId), !dev && new HashedChunkIdsPlugin(buildId),
......
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