fix: fix Buffer shim compatibility in browser (#16262)
This commit is contained in:
@ -78,10 +78,9 @@ function generateConfig(configType, format) {
|
||||
config.external = [
|
||||
/@babel\/runtime/,
|
||||
'bn.js',
|
||||
// Bundled for `Buffer` consistency
|
||||
// 'bs58',
|
||||
// 'buffer',
|
||||
// 'buffer-layout',
|
||||
'bs58',
|
||||
'buffer',
|
||||
'buffer-layout',
|
||||
'crypto-hash',
|
||||
'jayson/lib/client/browser',
|
||||
'js-sha3',
|
||||
|
Reference in New Issue
Block a user