comment why we do this

This commit is contained in:
Bruno Windels 2021-12-01 18:11:01 +01:00
parent 09338d8aa8
commit fceca845a9
1 changed files with 3 additions and 0 deletions

View File

@ -25,6 +25,9 @@ export default {
},
resolve: {
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",
"buffer": "./scripts/package-overrides/buffer/index.js",
}