webpack-dev-server
webpack-dev-server copied to clipboard
Add support of injectHot and injectClient on specific chunks
- [ ] 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
Codecov Report
:exclamation: No coverage uploaded for pull request base (
v3@5cb545f). Click here to learn what that means. The diff coverage isn/a.
@@ 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 dataPowered by Codecov. Last update 5cb545f...17e3ccc. Read the comment docs.
any news ?