A Metamask fork with Infura removed and default networks editable
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ciphermask/patches/@lavamoat+lavapack+3.1.0.patch

16 lines
675 B

diff --git a/node_modules/@lavamoat/lavapack/src/pack.js b/node_modules/@lavamoat/lavapack/src/pack.js
index eb41a0a..3f891ea 100644
--- a/node_modules/@lavamoat/lavapack/src/pack.js
+++ b/node_modules/@lavamoat/lavapack/src/pack.js
@@ -203,7 +203,9 @@ function createPacker({
const jsonSerializeableData = {
// id,
package: packageName,
- file,
+ // Omit this absolute filename from bundle so that builds are reproducible between environments
+ // TODO: update lavapack with an option to omit this, and/or make this filepath relative to the current working directory
+ // file,
// deps,
// source: sourceMeta.code
}