We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3c707c6 commit fa9d643Copy full SHA for fa9d643
src/worker/browser/spawnWorker.js
@@ -10,7 +10,7 @@ module.exports = ({ workerPath, workerBlobURL }) => {
10
if (Blob && URL && workerBlobURL) {
11
/* Use Blob to load cross domain worker script */
12
const blob = new Blob([`importScripts("${workerPath}");`], {
13
- type: 'application/javascript',
+ type: 'text/javascript',
14
});
15
worker = new Worker(URL.createObjectURL(blob));
16
} else {
0 commit comments