Commit Graph
2 Commits
Author SHA1 Message Date
Alexandre Poirot a9b9887b92 Bug 1929387 - [devtools] Convert Tabs modules to ES Module. r=devtools-reviewers,nchevobbe
Differential Revision: https://phabricator.services.mozilla.com/D229002
2025-03-05 17:06:02 +00:00
Alexandre Poirot 8b4e65c0af Bug 1949486 - [devtools] Expose ES Module versions for React modules. r=devtools-reviewers,nchevobbe
Land ES Modules for all React modules.

Also tweak the Browser Loader to force loading react loaded via require() to use the ES Modules.
This helps ensure these modules are loaded only once and always as a ES Module.
Otherwise require() statements from debugger frontend and import from Reps may load
distinct instances.

Differential Revision: https://phabricator.services.mozilla.com/D228995
2025-03-05 17:05:54 +00:00