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>
This commit is contained in:
Jacoberson 2021-09-02 01:04:40 -05:00 committed by GitHub
parent 98ab64cb94
commit 9692b9985a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -28,6 +28,7 @@ module.exports = {
// then it will try to find another open port availble. // then it will try to find another open port availble.
port: portFinderSync.getPort(3000), port: portFinderSync.getPort(3000),
}, },
target: "web",
output: { output: {
filename: ({ chunk: { name, hash } }) => { filename: ({ chunk: { name, hash } }) => {
return `js/${name}-${hash}.js`; return `js/${name}-${hash}.js`;