我想更改 largePageDataBytes 我知道这会降低性能。我在 next.config.js 中尝试了以下操作
/**
* @type {import('next').NextConfig}
*/
const nextConfig = {
/* config options here */
//largePageDataBytes: 128 * 1000, // 128KB by default
largePageDataBytes: 128 * 100000,
};
module.exports = nextConfig;
Run Code Online (Sandbox Code Playgroud)
并得到了
warn - Invalid next.config.js options detected:
Run Code Online (Sandbox Code Playgroud)
在哪里以及如何更改largePageDataBytes?