forked from mystiq/hydrogen-web
comment why we do this
This commit is contained in:
parent
09338d8aa8
commit
fceca845a9
1 changed files with 3 additions and 0 deletions
|
@ -25,6 +25,9 @@ export default {
|
||||||
},
|
},
|
||||||
resolve: {
|
resolve: {
|
||||||
alias: {
|
alias: {
|
||||||
|
// these should only be imported by the base-x package in any runtime code
|
||||||
|
// and works in the browser with a Uint8Array shim,
|
||||||
|
// rather than including a ton of polyfill code
|
||||||
"safe-buffer": "./scripts/package-overrides/safe-buffer/index.js",
|
"safe-buffer": "./scripts/package-overrides/safe-buffer/index.js",
|
||||||
"buffer": "./scripts/package-overrides/buffer/index.js",
|
"buffer": "./scripts/package-overrides/buffer/index.js",
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue