Commit 1b0083f0 authored by Jiachi Liu's avatar Jiachi Liu

update flag

parent 0366dc31
......@@ -1905,6 +1905,11 @@ function enforceExperimentalFeatures(
config.insights = true
}
// Enable suspense profiling when insights is enabled (either via CLI or config)
if (config.insights) {
config.experimental.suspenseProfiling = true
}
// TODO: Remove this once we've made Cache Components the default.
if (
process.env.__NEXT_CACHE_COMPONENTS === 'true' &&
......
/** @type {import('next').NextConfig} */
module.exports = {
cacheComponents: true,
experimental: {
serverSourceMaps: true,
suspenseProfiling: true,
},
insights: true,
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment