commit 6574b29935236d5638261fed47d383152b5ef340
parent 2a23f5dc0cc7a1de0f824a13e844359b90faceab
Author: Sergej Orlov <wladimirych@gmail.com>
Date: Tue, 3 Dec 2019 09:17:23 +0100
config: override for js-unzip.js to provide `window` as `this`
Diffstat:
1 file changed, 7 insertions(+), 0 deletions(-)
diff --git a/.babelrc b/.babelrc
@@ -9,6 +9,13 @@
}
]
],
+ "overrides": [
+ {
+ "test": "./src/vendored/github.com/augustl/js-unzip/js-unzip.js",
+ "sourceType": "script"
+ }
+ ],
+
"plugins": [
"@babel/plugin-syntax-dynamic-import",
"@babel/plugin-proposal-class-properties"