未验证 提交 a1598b52 编写于 作者: J Joe Haddad 提交者: GitHub

Disable `recordsPath` for selective page building (#6997)

We cannot rely on `recordsPath` when using selective page mode. All modules must be identified.
上级 59fb471b
......@@ -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 () => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册