feat: support of injectHot and injectClient on specific chunks by paztis · Pull Request #2998 · webpack/webpack-dev-server

  • This is a bugfix
  • This is a feature
  • This is a code refactor
  • This is a test update
  • This is a docs update
  • This is a metadata update

For Bugs and Features; did you add new tests?

yes

Motivation / Use-Case

In case of application with multiple iframes, only the top level frame has to listen socket for refresh
This PR add the support of chunk target in the injectClient and injectHot options. You are able to limit the client injection only in specific chunks

Resolving of #2969

Breaking Changes

Additional Info

none