This commit is contained in:
yyh 2026-04-14 14:06:04 +08:00
parent b43caa4db2
commit fbc6870c78
No known key found for this signature in database

View File

@ -14,19 +14,6 @@ const nextConfig: NextConfig = {
bundler: 'turbopack',
}),
},
webpack: (config, { dev: _dev, isServer: _isServer }) => {
config.plugins.push(codeInspectorPlugin({ bundler: 'webpack' }))
config.experiments = {
asyncWebAssembly: true,
layers: true,
}
config.output.environment = {
asyncFunction: true,
}
return config
},
productionBrowserSourceMaps: false, // enable browser source map generation during the production build
// Configure pageExtensions to include md and mdx
pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'],