Skip to content

Commit

Permalink
update config files
Browse files Browse the repository at this point in the history
  • Loading branch information
huozhi committed Sep 21, 2022
1 parent c49f6a2 commit 9f4f412
Showing 1 changed file with 18 additions and 7 deletions.
25 changes: 18 additions & 7 deletions test/.stats-app/stats-config.js
Expand Up @@ -32,12 +32,11 @@ const clientGlobs = [
globs: ['fetched-pages/**/*.html'],
},
{
name: 'Pages edge SSR bundle Size',
globs: ['.next/server/pages/edge-ssr.js'],
},
{
name: 'App edge SSR bundle Size',
globs: ['.next/server/app/app-edge-ssr/page.js'],
name: 'Edge SSR bundle Size',
globs: [
'.next/server/pages/edge-ssr.js',
'.next/server/app/app-edge-ssr/page.js',
],
},
{
name: 'Middleware size',
Expand Down Expand Up @@ -93,6 +92,9 @@ module.exports = {
path: 'next.config.js',
content: `
module.exports = {
experimental: {
appDir: true,
},
generateBuildId: () => 'BUILD_ID',
webpack(config) {
config.optimization.minimize = false
Expand All @@ -113,7 +115,10 @@ module.exports = {
{
path: 'next.config.js',
content: `
module.exports = {
module.exports = {
experimental: {
appDir: true,
},
generateBuildId: () => 'BUILD_ID'
}
`,
Expand Down Expand Up @@ -148,6 +153,9 @@ module.exports = {
path: 'next.config.js',
content: `
module.exports = {
experimental: {
appDir: true,
},
generateBuildId: () => 'BUILD_ID',
swcMinify: true,
webpack(config) {
Expand All @@ -170,6 +178,9 @@ module.exports = {
path: 'next.config.js',
content: `
module.exports = {
experimental: {
appDir: true,
},
swcMinify: true,
generateBuildId: () => 'BUILD_ID'
}
Expand Down

0 comments on commit 9f4f412

Please sign in to comment.