Remove non-ESM version of react modules
Categories
(DevTools :: General, task)
Tracking
(firefox138 fixed)
Tracking | Status | |
---|---|---|
firefox138 | --- | fixed |
People
(Reporter: ochameau, Assigned: ochameau)
References
(Regressed 1 open bug)
Details
Attachments
(2 files)
Bug 1949486 will introduce ESM versions for React modules, but could yet delete the non-ESM versions because JSONViewer was still using the non-ESM version.
Bug 1929387 will migrate the JSON Viewer to ESM which will allow getting rid of the non-ESM versions.
Assignee | ||
Comment 1•28 days ago
|
||
Also introduce a temporary workaround in the base loader to force loading
the available ESM from vendor.
This will prevent significantly increasing firefox installer size.
All the duplicated ESM modules are removed from Firefox package,
but some are kept in-tree for some jest tests which can't use ESM.
Assignee | ||
Comment 2•28 days ago
|
||
Node doesn't support ESM, so we have to drop enzyme and prevent loading any frontend module.
There is much more to be cleaned up, but let wait for getting rid of the tests entirely.
Updated•16 days ago
|
Comment 4•15 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/fa69a6efd514
https://hg.mozilla.org/mozilla-central/rev/0585ab26c3b3
Description
•