Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
409 changes: 397 additions & 12 deletions e2e/pnpm-lock.yaml

Large diffs are not rendered by default.

25 changes: 0 additions & 25 deletions e2e/servers/next/next.config.ts
Original file line number Diff line number Diff line change
@@ -1,31 +1,6 @@
import type { NextConfig } from "next";

const nextConfig: NextConfig = {
experimental: {
nodeMiddleware: true, // TEMPORARY: Only needed until Edge runtime support is added
},
env: {
EVM_PAYEE_ADDRESS: process.env.EVM_PAYEE_ADDRESS,
EVM_NETWORK: process.env.EVM_NETWORK,
FACILITATOR_URL: process.env.FACILITATOR_URL,
PORT: process.env.PORT,
},
webpack(config) {
config.module.rules.push({
test: /\.svg$/,
use: ["@svgr/webpack"],
});

// Handle Node.js modules that might not be compatible with Edge Runtime
config.resolve.fallback = {
...config.resolve.fallback,
crypto: require.resolve("crypto-browserify"),
stream: require.resolve("stream-browserify"),
buffer: require.resolve("buffer"),
};

return config;
},
};

export default nextConfig;
Loading