webpack-dev-server icon indicating copy to clipboard operation
webpack-dev-server copied to clipboard

Add support of injectHot and injectClient on specific chunks

Open paztis opened this issue 4 years ago • 2 comments

  • [ ] This is a bugfix
  • [x] 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

none

Additional Info

paztis avatar Feb 06 '21 08:02 paztis

Codecov Report

:exclamation: No coverage uploaded for pull request base (v3@5cb545f). Click here to learn what that means. The diff coverage is n/a.

Impacted file tree graph

@@          Coverage Diff          @@
##             v3    #2995   +/-   ##
=====================================
  Coverage      ?   93.51%           
=====================================
  Files         ?       34           
  Lines         ?     1342           
  Branches      ?      384           
=====================================
  Hits          ?     1255           
  Misses        ?       85           
  Partials      ?        2           

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 5cb545f...17e3ccc. Read the comment docs.

codecov[bot] avatar Feb 06 '21 08:02 codecov[bot]

any news ?

paztis avatar Mar 02 '21 09:03 paztis