chore: update next config & fix build error UnhandledSchemeError
This commit is contained in:
parent
e7240db823
commit
c098300481
@ -16,6 +16,8 @@ const nextConfig: NextConfig = {
|
||||
},
|
||||
|
||||
// https://github.com/vercel/next.js/discussions/50177#discussioncomment-6006702
|
||||
// fix build error: Module build failed: UnhandledSchemeError:
|
||||
// Reading from "cloudflare:sockets" is not handled by plugins (Unhandled scheme).
|
||||
webpack: (config, { webpack }) => {
|
||||
config.plugins.push(
|
||||
new webpack.IgnorePlugin({
|
||||
|
Loading…
Reference in New Issue
Block a user