rsnext/packages/next/build
Hannes Bornö 35253e1a93
fix(switchable-runtime): make dev server not break when wrong runtime config is exported (#40312)
Currently the DEV server can't recover if you export an invalid runtime
config. It ends up in a state where it stops to work but nothing is
printed to the terminal.

It now prints an error but keeps working. When building it should crash,
there's an existing test for that
https://github.com/vercel/next.js/blob/canary/test/production/exported-runtimes-value-validation/index.test.ts#L5-L17

#### Reproduce
```tsx
export default function Page() {
  return <p>hello world</p>
}

export const config = {
  runtime: 'something-odd',
}

```
2022-09-07 13:12:13 -07:00
..
analysis fix(switchable-runtime): make dev server not break when wrong runtime config is exported (#40312) 2022-09-07 13:12:13 -07: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 Improved route resolution in next-app-loader (#40109) 2022-09-06 10:03:21 -07: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 Improved route resolution in next-app-loader (#40109) 2022-09-06 10:03:21 -07:00
generate-build-id.ts Fix generateBuildId type that can be async function (#28040) 2021-08-12 22:26:44 +00:00
index.ts Improved route resolution in next-app-loader (#40109) 2022-09-06 10:03:21 -07: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 Bypass empty pages folder for layouts (#40132) 2022-09-03 00:13:47 +00:00
webpack-config.ts Bypass empty pages folder for layouts (#40132) 2022-09-03 00:13:47 +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