mirror of
https://github.com/langgenius/dify.git
synced 2026-04-15 09:57:03 +08:00
fix
This commit is contained in:
parent
b43caa4db2
commit
fbc6870c78
@ -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'],
|
||||
|
||||
Loading…
Reference in New Issue
Block a user