At its current state bitgo lib has many transitive dependencies which makes the
node_modules directory size over 400MB.
This makes it impossible to use bitgo with AWS Lambdas because of the current 250MB limit per layer.
NB: The bundler has been tested with bitgo v11.7.0. Using a different version of BitGo JS SDK might affect the bundle integrity. Please test extensively before putting into production!
- Replace any
require('bitgo')calls in your code with
const BitGoJS = require('@civic/bitgo');