For example, I'm trying to build an app with FIrebase Admin SDK, and it fails.
npx ncc index.js -o bundle.js
Module directory "/node_modules/@google-cloud/firestore/build/src/v1beta1" attempted to require "./firestore_client_config" but could not be resolved, assuming external.
/node_modules/@google-cloud/firestore/build/src/v1beta1 folder looks like this:

And the require() looks like this const gapicConfig = require('./firestore_client_config');