Disable recordsPath
for selective page building (#6997)
We cannot rely on `recordsPath` when using selective page mode. All modules must be identified.
This commit is contained in:
parent
59fb471bc6
commit
a1598b5285
1 changed files with 1 additions and 1 deletions
|
@ -184,7 +184,7 @@ export default function getBaseWebpackConfig (dir: string, {dev = false, debug =
|
|||
usedExports: false,
|
||||
concatenateModules: false,
|
||||
} : undefined),
|
||||
recordsPath: path.join(outputPath, 'records.json'),
|
||||
recordsPath: selectivePageBuilding ? undefined : path.join(outputPath, 'records.json'),
|
||||
context: dir,
|
||||
// Kept as function to be backwards compatible
|
||||
entry: async () => {
|
||||
|
|
Loading…
Reference in a new issue