We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 71600a9 commit a5bb19cCopy full SHA for a5bb19c
packages/skin-museum-client/src/index.js
@@ -1,3 +1,14 @@
1
+// There is some bug between how JSZip pulls in setimmediate (which it expects
2
+// to polyfill `window.setimmediate` and our Webpack setup. The result is that
3
+// one of our bundles is missing the polyfill. If we call JSZip code from within
4
+// that bundle the polyfill is not present and we get an error.
5
+//
6
+// This explicit import should ensure that the polyfill is present in the
7
+// entrypoint bundle and thus always set on `window`.
8
9
+// We should be able to remove this once we root cause the bundling issue.
10
+import "setimmediate";
11
+
12
import React from "react";
13
import ReactDOM from "react-dom";
14
import { Provider } from "react-redux";
0 commit comments