fix: update buffer-layout to fix downstream bundler issues (#18529)
* fix: update buffer-layout to fix downstream bundler issues * chore: run check on generated type declaration
This commit is contained in:
@ -51,10 +51,11 @@ function generateConfig(configType, format) {
|
||||
// Prevent dependencies from being bundled
|
||||
config.external = [
|
||||
/@babel\/runtime/,
|
||||
'@solana/buffer-layout',
|
||||
'bn.js',
|
||||
'borsh',
|
||||
'bs58',
|
||||
'buffer-layout',
|
||||
'buffer',
|
||||
'crypto-hash',
|
||||
'jayson/lib/client/browser',
|
||||
'js-sha3',
|
||||
@ -81,11 +82,11 @@ function generateConfig(configType, format) {
|
||||
// Prevent dependencies from being bundled
|
||||
config.external = [
|
||||
/@babel\/runtime/,
|
||||
'@solana/buffer-layout',
|
||||
'bn.js',
|
||||
'borsh',
|
||||
'bs58',
|
||||
'buffer',
|
||||
'buffer-layout',
|
||||
'crypto-hash',
|
||||
'jayson/lib/client/browser',
|
||||
'js-sha3',
|
||||
|
Reference in New Issue
Block a user