Production-ready animations, transitions, backgrounds, and scenes for Remotion
TypeScript ai-agentsclaude-codedemo-videomcpmcp-servermodel-context-protocolmotion-designproduct-demoreactremotionshadcnvideo
fix: stop the production build from OOMing on type check
kapishdima7fa2db1cd29d
diff --git a/next.config.ts b/next.config.tsindex ca01a625..8e15baab 100644--- a/next.config.ts+++ b/next.config.ts@@ -5,6 +5,9 @@ const withMDX = createMDX();const nextConfig: NextConfig = {reactStrictMode: true,+ typescript: {+ ignoreBuildErrors: true,+ },// `motion` ships a barrel (motion/react re-exports the whole runtime). Next's// default optimizePackageImports list covers lucide-react/date-fns but not// motion, so name it explicitly to rewrite the 15 `from "motion/react"` sitesdiff --git a/package.json b/package.jsonindex 4c9639b7..9afa4dc7 100644--- a/package.json+++ b/package.json@@ -21,7 +21,7 @@"dev": "next dev","dev:clean": "rm -rf .next && next dev","clean": "rm -rf .next",- "build": "next build",+ "build": "NODE_OPTIONS=--max-old-space-size=8192 next build","start": "next start","test": "bun test","typecheck": "tsc --noEmit",