From d0de782d1b904ce0229f8113a989337e9f7033b6 Mon Sep 17 00:00:00 2001 From: Ritesh Kumar Date: Thu, 31 Oct 2019 22:22:38 +0530 Subject: [PATCH] fixes --- next.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/next.config.js b/next.config.js index 6cf7b69..b97ff77 100644 --- a/next.config.js +++ b/next.config.js @@ -54,7 +54,7 @@ const config = { use: { loader: "worker-loader", options: { - name: "static/[hash].worker.js", + name: "/[hash].worker.js", publicPath: "/_next/" } } @@ -69,7 +69,7 @@ const config = { } }); - config.output.webassemblyModuleFilename = "static/wasm/[modulehash].wasm"; + config.output.webassemblyModuleFilename = "wasm/[modulehash].wasm"; return config; },