rsnext/test/e2e
Tim Neutkens c74e4f21ff
Add support for async fn / promise in next.config.js/.mjs (#33662)
- Add support for async function / promise export in next.config.js/.mjs
- Update docs

Adds support for https://twitter.com/timneutkens/status/1486075973204422665

But also the simpler version:

```js
module.exports = async () => {
  return {
    basePath: '/docs'
  }
}
```



## Bug

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

## Feature

- [x] Implements an existing feature request or RFC. Make sure the feature request has been accepted for implementation before opening a PR.
- [x] Related issues linked using `fixes #number`
- [x] Integration tests added
- [x] Documentation added

## Documentation / Examples

- [ ] Make sure the linting passes by running `yarn lint`
2022-02-07 08:48:35 +00:00
..
basepath fix popstate detection for safari when basepath is present (#32687) 2021-12-21 14:11:10 -06:00
browserslist-extends Ensure browserslist extends works properly (#33890) 2022-02-02 13:23:51 -06:00
config-promise-export Add support for async fn / promise in next.config.js/.mjs (#33662) 2022-02-07 08:48:35 +00:00
dynamic-route-interpolation Bug fix: dynamic page should not be interpreted as predefined page (#33808) 2022-02-02 02:57:04 +00:00
getserversideprops Fix getServerSideProps hanging in dev on early end (#33366) 2022-01-16 16:14:21 +00:00
next-head Fix non-concurrent function _document (#31628) 2021-11-19 19:41:19 +00:00
nonce-head-manager correctly assess node equality when nonce attribute is present (#27573) 2021-11-10 19:31:32 -06:00
prerender Add warning for large amount of page data (#29956) 2021-10-25 21:07:05 +02:00
prerender-native-module Migrate prerender tests to new set-up (#29245) 2021-09-21 16:21:05 +02:00
yarn-pnp/test Update yarn PnP tests and disable swc file reading for PnP (#33236) 2022-01-14 09:43:30 -06:00
basepath-trailing-slash.test.ts Ensure trailingSlash is correct for index with query (#29217) 2021-09-21 16:18:42 +02:00
basepath.test.ts Fix pre-compiled check from copying react-refresh-utils (#33442) 2022-01-18 18:49:26 +00:00
example.txt Add util for generating new tests/error documents (#33001) 2022-01-06 09:45:04 -06:00
prerender-crawler.test.ts Add crawler blocking for fallback: true (#29121) 2021-09-16 11:01:28 -05:00
prerender-native-module.test.ts Update resolving for node_modules trace pass (#30985) 2021-11-04 20:09:37 -05:00
prerender.test.ts Update resolving for node_modules trace pass (#30985) 2021-11-04 20:09:37 -05:00