diff --git a/.vercelignore b/.vercelignore new file mode 100644 index 00000000000..a794adcee21 --- /dev/null +++ b/.vercelignore @@ -0,0 +1,26 @@ +# Git related +.git +.github +.gitmodules +.gitattributes +.gitignore + +# Development configs +.vscode +.idea +.dependency-cruiser.cjs + +# Environment and secrets +.env +.env.* + +# Documentation and logs +docs +*.md +*.log + +# Test files +coverage +test +**/*.test.* +**/__tests__ \ No newline at end of file diff --git a/vercel.json b/vercel.json new file mode 100644 index 00000000000..bf5477c83d8 --- /dev/null +++ b/vercel.json @@ -0,0 +1,13 @@ +{ + "version": 2, + "buildCommand": "npm run build", + "outputDirectory": "dist", + "installCommand": "npm config set ignore-scripts true && npm ci && npm rebuild", + "routes": [ + { "handle": "filesystem" }, + { "src": "/.*", "dest": "/index.html" } + ], + "env": { + "SKIP_POSTINSTALL": "1" + } + } \ No newline at end of file