diff --git a/.npmrc-vercel b/.npmrc-vercel new file mode 100644 index 00000000..73c487f3 --- /dev/null +++ b/.npmrc-vercel @@ -0,0 +1,2 @@ +strict-peer-dependencies=false +auto-install-peers=false diff --git a/vercel.json b/vercel.json index 80e57248..7222d1e8 100644 --- a/vercel.json +++ b/vercel.json @@ -1,5 +1,8 @@ { + "buildCommand": "pnpm nx run sdk-nextjs:build", "github": { "enabled": false - } + }, + "installCommand": "mv .npmrc .npmrc-dev && mv .npmrc-vercel .npmrc && pnpm install", + "outputDirectory": "dist/examples/sdk-nextjs/.next" }