rsnext/packages/next/server/dev
Sukka e57e2753f1
fix(typescript): worker execution failed with custom next.config.js (#37125)
## Bug

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

The PR fixes #37122, an issue introduced by #37105.

`next.config.js` might/will include functions (custom `webpack`, `generateBuildId`, `exportPathsMap`, etc.) that are not able to pass from the main thread to a worker. The PR fixes the issue by only passing primitive args to the worker.
2022-05-23 20:30:48 +00:00
..
hot-middleware.ts partially migrate to webpack 5 types (#30189) 2021-10-24 23:04:26 +02:00
hot-reloader.ts Extract and refactor getPageStaticInfo (#37062) 2022-05-20 14:24:00 +02:00
next-dev-server.ts fix(typescript): worker execution failed with custom next.config.js (#37125) 2022-05-23 20:30:48 +00:00
on-demand-entry-handler.ts Extract and refactor getPageStaticInfo (#37062) 2022-05-20 14:24:00 +02:00
static-paths-worker.ts Add port and hostname options to Next Server (#31858) 2021-11-28 16:48:43 +00:00