From 9692b9985a3b891f4261c0cd6a1c35876bca5bcd Mon Sep 17 00:00:00 2001 From: Jacoberson <58759808+Jacoberson@users.noreply.github.com> Date: Thu, 2 Sep 2021 01:04:40 -0500 Subject: [PATCH] fix: hot reload issue (#279) * fixing hot reload issue * Update webpack.config.js removed duplicate key-value pairs. Co-authored-by: Palash <88981777+palash-signoz@users.noreply.github.com> --- frontend/webpack.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/webpack.config.js b/frontend/webpack.config.js index 64e6f0e2f6..02965e0be7 100644 --- a/frontend/webpack.config.js +++ b/frontend/webpack.config.js @@ -28,6 +28,7 @@ module.exports = { // then it will try to find another open port availble. port: portFinderSync.getPort(3000), }, + target: "web", output: { filename: ({ chunk: { name, hash } }) => { return `js/${name}-${hash}.js`;