-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
feat: add --client-need-client-entry
and --client-need-hot-entry
#3228
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
@@ -123,6 +123,41 @@ module.exports = { | |||
delete opts.clientOverlay; | |||
}, | |||
}, | |||
{ | |||
name: 'client-need-client-entry', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe we need a better name, double client
can be confusing.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep, good catch I will think about it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe:
client: {
appendDefaultEntries: true,
appendHotEntries: true
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hm, give me time to think about these options, maybe we need { client: (entry) => { return clientOption; } }
, so you will setup hot/client entry for multiple entrypoints
Codecov Report
@@ Coverage Diff @@
## master #3228 +/- ##
=======================================
Coverage 95.19% 95.19%
=======================================
Files 37 37
Lines 1248 1248
Branches 352 352
=======================================
Hits 1188 1188
Misses 54 54
Partials 6 6 Continue to review full report at Codecov.
|
@snitin315 I found solution:
Maybe in future we will allow to write to only specific client (we already have this information internally, nobody ask this, so let's postpone) |
Nice solution. I will update 👍 |
For Bugs and Features; did you add new tests?
Yes.
Motivation / Use-Case
Addded -
--client-need-client-entry
--no-client-need-client-entry
--client-need-hot-entry
--no-client-need-hot-entry
Breaking Changes
None
Additional Info
No