diff --git a/packages/web/craco.config.ts b/packages/web/craco.config.ts
index 230f647ddea..12e9523e842 100644
--- a/packages/web/craco.config.ts
+++ b/packages/web/craco.config.ts
@@ -70,6 +70,11 @@ export default {
test: /\.wasm$/,
type: 'webassembly/async'
},
+ {
+ test: /\.workerscript$/,
+ use: ['raw-loader'],
+ type: 'javascript/auto'
+ },
{
test: /\.(glsl|vs|fs|vert|frag)$/,
exclude: /node_modules/,
diff --git a/packages/web/public/index.html b/packages/web/public/index.html
index 583d491aa2c..f8bdcb7a205 100644
--- a/packages/web/public/index.html
+++ b/packages/web/public/index.html
@@ -34,10 +34,6 @@
onLoad="window.web3Loaded = true; window.dispatchEvent(new CustomEvent('WEB3_LOADED'))"
src="%PUBLIC_URL%/scripts/web3.min.js"
>
-