Closed Bug 1792477 Opened 3 years ago Closed 3 years ago

Allow is-esmified.js to use alternative map.json file

Categories

(Core :: XPConnect, task)

task

Tracking

()

RESOLVED FIXED
107 Branch
Tracking Status
firefox107 --- fixed

People

(Reporter: rjl, Assigned: rjl)

References

Details

Attachments

(1 file)

I've come up with a modified "mach esmify" that is able to work on comm-central code. Most of the work is in a modified "mach_commands.py" that does some path mangling. Bug 1779047 has the changes.

My goal is to be able to use the esmify javascript code from mozilla-central to make keeping up with changes easier.

In order to do that, "is-esmified.js" needs to be able to use a "maps.json" file from "comm/tools/esmify" rather than the default.

This is to support using the javascript pieces of "mach esmify" on comm-central
code.
A modified "mach esmify" implemented in comm-central will set ESMIFY_MAP_JSON
to the path of a "map.json" in comm-central.

Blocks: 1779047
Pushed by thunderbird@calypsoblue.org: https://hg.mozilla.org/integration/autoland/rev/1683d71ee2ac Allow is-esmified.js to use a non-default map.json. r=arai
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → FIXED
Target Milestone: --- → 107 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: