fix: repair native bigint-buffer binding by preventing module from being bundled (fixes #25159)

This commit is contained in:
steveluscher 2022-05-12 14:29:38 -07:00
parent 14bc55eddb
commit 82404d3f1c
1 changed files with 2 additions and 0 deletions

View File

@ -55,6 +55,7 @@ function generateConfig(configType, format) {
config.external = [
/@babel\/runtime/,
'@solana/buffer-layout',
'@solana/buffer-layout-utils',
'bn.js',
'borsh',
'bs58',
@ -112,6 +113,7 @@ function generateConfig(configType, format) {
config.external = [
/@babel\/runtime/,
'@solana/buffer-layout',
'@solana/buffer-layout-utils',
'bn.js',
'borsh',
'bs58',