提交 12c211bd 编写于 作者: J JJ Kasper 提交者: Joe Haddad

Add config for diffing fetched pages (#8492)

上级 1dbacda5
......@@ -24,6 +24,10 @@ const clientGlobs = [
{
name: 'Client Build Manifests',
globs: ['.next/static/*/_buildManifest*']
},
{
name: 'Rendered Page Sizes',
globs: ['fetched-pages/**/*.html']
}
]
......@@ -114,9 +118,10 @@ module.exports = {
}
],
filesToTrack: clientGlobs,
// will be output to fetched-pages/${pathname}.html
pagesToFetch: [
'http://localhost:$PORT/',
'http://localhost:$PORT/link',
'http://localhost:$PORT/index',
'http://localhost:$PORT/withRouter'
]
},
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册