vercel-builder
vercel-builder copied to clipboard
fix: handle npm v7 overwriting `node_modules` symlink
context: https://github.com/nuxt/vercel-builder/issues/633
The issue was that npm v7 (enabled in @vercel/build-utils v2.12.0 by https://github.com/vercel/vercel/pull/6532) apparently refuses to install into a symlinked node_modules folder so dev dependencies were being added to the lambda.
This PR re-upgrades to the latest build-utils and adds a workaround for this npm behaviour.