Jiachi Liu
cc684d02bc
Add export runtime test for pages and fully remove experimental.runtime ( #48630 )
...
### What
`export const runtime = 'experimental-edge'` also work for pages. This
PR add tests for that.
Closes NEXT-426
Follow up for #46631 that to fully remove all related code of the
`experimental.runtime`
2023-04-20 22:37:38 +00:00
JJ Kasper
c66b8f3926
Update bench options in stats-config ( #41432 )
...
x-ref:
https://github.com/vercel/next.js/actions/runs/3252514635/jobs/5338830017
x-ref:
https://github.com/vercel/next.js/actions/runs/3250842765/jobs/5335182082
2022-10-14 18:17:45 -07:00
Jiachi Liu
cbfab2a3b7
Strip internal pages for pagesDir in app edge ssr ( #40776 )
...
For app edge SSR, we don't need any internal pages for it since it's
handled by app-renderer. This results around reducing 20KB from app edge
SSR
# Changes
* Strip those internal pages modules when it's in app edge SSR
* Minimize edge SSR chunk to see the tree-shake result
* Add bundle analyzer with switcher in stats-app for testing. Using
`TEST_ANAYLYSE=1` to build stats-app for testing
2022-09-21 17:18:18 -07:00
Jiachi Liu
27e0b1293b
Add edge ssr to pr stats ( #39621 )
...
Monitoring edge-ssr bundle size in PR stats
change the react version in stats-app to 18
checking size of edge ssr page
2022-08-15 13:28:31 -05:00
JJ Kasper
4b1bf758b0
Add additional stats app pages ( #27202 )
2021-07-16 12:13:04 -05:00
JJ Kasper
556216b1ad
Add page with next/image to stats-app ( #26973 )
...
* Add page with next/image to stats-app
* Update stats-config
* Update globs
* Only run prettier on js outputs
* only add image page for non-webpack 4 mode
* update config
* Re-add moving page chunks
2021-07-07 09:50:24 -05:00
Tobias Koppers
cc246cdc41
add css to the stats-app ( #24228 )
...
add a page with CSS to the stats app
We should compare stats for CSS too
2021-04-19 17:42:40 +00:00
JJ Kasper
5febe218a6
Add nccing AMP optimizer ( #21980 )
...
This adds ncc'ing the AMP optimizer package to speed up install times and cache the runtime.
Closes: https://github.com/vercel/next.js/issues/20404
2021-02-11 09:55:56 +00:00
Joe Haddad
18a9c7e371
Improve linting rules to catch more errors ( #9374 )
...
* Update `packages/`
* Update examples
* Update tests
* Update bench
* Update top level files
* Fix build
* trigger
2019-11-10 19:24:53 -08:00
Jason Miller
d8fe224951
Hook destructuring optimization ( #8381 )
...
* Add hook destructuring optimization
* oops, accidentally included loose mode
* inline hook destructuring optimization plugin
* fix test nesting
* fix lockfile
* allow any react hook
* Add page to stats-app with hooks
2019-08-15 18:08:06 -04:00
JJ Kasper
f01af7cefb
Add config/test app for new PR stats set-up ( #8317 )
...
* Add config/test app for new PR stats set-up
* Move config/test app to test folder
2019-08-12 00:28:41 +02:00