diff --git a/.env.local.example b/.env.local.example index 7952651..25717bc 100644 --- a/.env.local.example +++ b/.env.local.example @@ -5,5 +5,3 @@ NEXT_PUBLIC_API_URL= # Mock mode for local development (skip real API calls) NEXT_PUBLIC_USE_MOCKS=true -# Pubkey for Lightning boost keysends -NEXT_PUBLIC_BOOST_PUBKEY= diff --git a/next.config.ts b/next.config.ts index 68a6c64..433efbb 100644 --- a/next.config.ts +++ b/next.config.ts @@ -2,6 +2,7 @@ import type { NextConfig } from "next"; const nextConfig: NextConfig = { output: "standalone", + transpilePackages: ["@base-ui/react"], }; export default nextConfig; diff --git a/package.json b/package.json index f93fcda..a44998f 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,7 @@ "private": true, "scripts": { "dev": "NODE_TLS_REJECT_UNAUTHORIZED=0 next dev", - "build": "next build", + "build": "NODE_ENV=production next build", "start": "next start", "lint": "eslint" }, diff --git a/src/app/global-error.tsx b/src/app/global-error.tsx new file mode 100644 index 0000000..8d797a7 --- /dev/null +++ b/src/app/global-error.tsx @@ -0,0 +1,18 @@ +"use client" + +export default function GlobalError({ + error, + reset, +}: { + error: Error & { digest?: string } + reset: () => void +}) { + return ( + +
+