4dd26753d9
`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.
4 lines
144 B
JSON
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"
|
|
}
|