1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/.yarn/patches/@lavamoat-lavapack-npm-3.1.0-34c65d233b.patch
Brad Decker 6d1170f06c
upgrade yarn to version 3 (#16232)
Co-authored-by: Mark Stacey <markjstacey@gmail.com>
Co-authored-by: ricky <ricky.miller@gmail.com>
Co-authored-by: Elliot Winkler <elliot.winkler@gmail.com>
Co-authored-by: legobeat <109787230+legobeat@users.noreply.github.com>
Co-authored-by: legobt <6wbvkn0j@anonaddy.me>
Co-authored-by: Pedro Figueiredo <pedro.figueiredo@consensys.net>
2022-12-08 10:38:04 -06:00

16 lines
613 B
Diff

diff --git a/src/pack.js b/src/pack.js
index eb41a0af7e2cb84f009486e97c132a0608f17912..3f891eaa2690ef4d4e314d6ca8851becd12afeb3 100644
--- a/src/pack.js
+++ b/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
}