Skip to content
\n

I want to start webSocket for every entry ( because in single ws link case, hmr works well in just only one entry and I cannot find the reason ).

\n

What I want is like this:

\n","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

I see what you want, current;y it is impossible for single configuration, you can use multi compiler (https://github.com/webpack/webpack/blob/main/examples/multi-compiler/README.md) mode with different uniqueName https://webpack.js.org/configuration/output/#outputuniquename

","upvoteCount":0,"url":"https://github.com/webpack/webpack/discussions/19600#discussioncomment-13531776"}}}

How to start difference ws for every entry #19600

Discussion options

You must be logged in to vote

I see what you want, current;y it is impossible for single configuration, you can use multi compiler (https://github.com/webpack/webpack/blob/main/examples/multi-compiler/README.md) mode with different uniqueName https://webpack.js.org/configuration/output/#outputuniquename

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@Rain-Blends-Into-Ink
Comment options

@alexander-akait
Comment options

@Rain-Blends-Into-Ink
Comment options

@alexander-akait
Comment options

Answer selected by Rain-Blends-Into-Ink
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants