To provide access to private NPM packages during your build:
- Navigate to the Site Settings page, then click on the Environment Variables tab
- Add a custom NPM auth token by adding
NPM_TOKEN
as an environment variable. - Set a custom registry by adding
NPM_REGISTRY
as an environment variable.