rsnext/packages/next/build
JJ Kasper 3bf8b2b4fe
Update to detect GSSP with edge runtime during build (#40076)
This updates to handle detecting `getStaticProps`/`getServerSideProps` correctly during build when `experimental-edge` is being used. This also fixes not parsing dynamic route params correctly with the edge runtime and sets up the handling needed for the static generation for app opened in the below mentioned PR.

## Bug

- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [ ] Errors have helpful link attached, see `contributing.md`

Fixes: [slack thread](https://vercel.slack.com/archives/C0289CGVAR2/p1661554455121189)
x-ref: https://github.com/vercel/next.js/pull/39884
2022-08-30 18:18:02 +00:00
..
analysis Handle async module for client components (#39953) 2022-08-29 14:47:06 +00:00
babel Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
jest Eagerly load swc bindings for wasm fallback for jest (#36784) 2022-05-12 09:15:27 +00:00
output Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
polyfills Fix global process testing for the process polyfill (#33220) 2022-01-13 16:44:55 +00:00
swc feat(next/swc): enable wasm first binding load for the platforms (#38883) 2022-08-23 14:59:13 -05:00
webpack Update to detect GSSP with edge runtime during build (#40076) 2022-08-30 18:18:02 +00:00
compiler.ts Remove webpack4 types (#39631) 2022-08-16 09:55:37 +00:00
cssnano-simple.js Pre-compile more dependencies (#32627) 2021-12-20 14:01:35 +01:00
entries.ts Handle edge runtime for app (#39910) 2022-08-24 14:49:47 -05:00
generate-build-id.ts Fix generateBuildId type that can be async function (#28040) 2021-08-12 22:26:44 +00:00
index.ts Update to detect GSSP with edge runtime during build (#40076) 2022-08-30 18:18:02 +00:00
is-writeable.ts Use fs.promises instead of promisify (#12026) 2020-05-02 00:10:19 -04:00
load-jsconfig.ts Add handling for auto installing TypeScript deps and HMRing tsconfig (#39838) 2022-08-23 13:16:47 -05:00
spinner.ts [Feature] Progress bar for static build (#15297) 2020-08-04 09:58:23 +02:00
utils.ts Update to detect GSSP with edge runtime during build (#40076) 2022-08-30 18:18:02 +00:00
webpack-config.ts feat: add experimental.fallbackNodePolyfills flag (#39248) 2022-08-26 23:11:57 +00:00
worker.ts use a shared worker pool for collecting page data and static page generation (#27924) 2021-08-12 19:54:49 +00:00
write-build-id.ts Move code shared between server/client to "shared" folder (#26734) 2021-06-30 11:43:31 +02:00