rsnext/test/integration/async-modules/next.config.js
Jan Potoms 9300151118
Allow pages to be async modules to enable top-level-await (#17590)
Co-authored-by: JJ Kasper <jj@jjsweb.site>
Co-authored-by: kodiakhq[bot] <49736102+kodiakhq[bot]@users.noreply.github.com>
2020-10-14 11:55:42 +02:00

9 lines
184 B
JavaScript

module.exports = {
// target: 'experimental-serverless-trace',
webpack: (config, options) => {
config.experiments = {
topLevelAwait: true,
}
return config
},
}