stack/apps/demo/next.config.js

8 lines
177 B
JavaScript

/** @type {import("next").NextConfig} */
module.exports = {
webpack(config) {
config.experiments = { ...config.experiments, topLevelAwait: true }
return config
},
}