fix: fix Buffer shim compatibility in browser (#16262)
This commit is contained in:
parent
3e22f61ecf
commit
19f21b595a
|
@ -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',
|
||||
|
|
Loading…
Reference in New Issue