next.js
16a55ae8 - Apply serverExternalPackages inside node_modules and add keyv (#67948)

Commit
1 year ago
Apply serverExternalPackages inside node_modules and add keyv (#67948) ExternalCjsModulesResolvePlugin was originally disabled for requests inside node_modules (e.g. from inside `cacheable-request` to `keyv`) by @sokra in https://github.com/vercel/turbo/pull/3736. But it seems that we do want this to happen In the `ExternalPredicate::AllExcept` case, requests inside node_modules are still ignored. Otherwise `next/dist/compiled/next-server/pages.runtime.dev.js` was marked as external and failed many tests With that fixed, add `keyv` so that `got` can be imported. Fixes #67282 Fixes PACK-3139
Author
Parents
Loading