-
Notifications
You must be signed in to change notification settings - Fork 0
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
Move main from index.js to BeaconEntryPoint #19
Conversation
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesCodacy stopped sending the deprecated coverage status on June 5th, 2024. Learn more Footnotes
|
@mostafa-hisham will this work with inspector code without a problem? |
Let's discuss this with @mostafa-hisham tomorrow. Maybe inspector will need an adaptation as well. ; but we need to either have the index.js, either the EntryPoint but we shouldn't keep both approaches I think. |
@MathieuLamiot we have to export the class that will be used in wpr-inspector One more thing I did in wpr-inspector , I overwrote some functions (save and get stuff from WP DataBase) in the LCPBeacon so I can use it "in test mode" I see all functions are still the same in
Another idea we can create an |
Yes, I think so.
I don't know if that would be better 🤔 Those hacks are quite specific to the inspector, so I am not sure it would make sense to make them in the shared codebase?
Does that mean adding |
Description
Follow-up of #12 and needed for auto build in WP Rocket: we don't use index.js anymore as the entry point, but we use BeaconEntryPoint.js. So a few things must be adapted so that npm knows it and install the right files.
Documentation
User documentation
NA
Technical documentation
NA
Type of change
Delete options that are not relevant.
New dependencies
NA
Risks
NA
Checklists
Feature validation