rsnext/test/e2e/app-dir/app-routes-client-component/vercel.json
Zack Tanner 4dd26753d9
fix deploy tests that patch node_modules (#66849)
`node_modules` gets ignored when deployed unless explicitly allowed, and
the regular install command will clobber what was in there.

This allowlists the `node_modules` directory and copies it into a new
folder, runs the install command, and then merges the patched
`node_modules` in so the patched modules are available in the test.
2024-06-13 23:21:34 +00:00

4 lines
144 B
JSON

{
"installCommand": "mv node_modules node_modules.bak && npm i",
"buildCommand": "cp -r node_modules.bak/* node_modules && npm run build"
}