We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4a3b266 commit c2ab302Copy full SHA for c2ab302
2 files changed
apps/web/next.config.ts
@@ -1,4 +1,9 @@
1
import type { NextConfig } from "next";
2
+import { getYapiPath } from "./app/lib/yapi-path";
3
+
4
+// Verify yapi binary exists at build time
5
+const yapiPath = getYapiPath();
6
+console.log(`[next.config] yapi binary found at: ${yapiPath}`);
7
8
const nextConfig: NextConfig = {
9
turbopack: {
cli/scripts/vercel-build.sh
@@ -47,6 +47,11 @@ mkdir -p /usr/local/bin
47
cp ./bin/yapi /usr/local/bin/yapi
48
chmod +x /usr/local/bin/yapi
49
50
+echo "Copying yapi to monorepo root bin/ for Next.js file tracing..."
51
+mkdir -p ../bin
52
+cp ./bin/yapi ../bin/yapi
53
+chmod +x ../bin/yapi
54
55
echo "yapi installed: $(which yapi)"
56
yapi version 2>/dev/null || true
57
0 commit comments