Closed Bug 1929388 Opened 1 year ago Closed 1 year ago

Loads reps modules with absolute URLs (instead of absolute require path)

Categories

(DevTools :: General, task)

task

Tracking

(firefox134 fixed)

RESOLVED FIXED
134 Branch
Tracking Status
firefox134 --- fixed

People

(Reporter: ochameau, Assigned: ochameau)

References

Details

Attachments

(2 files)

Using absolute URL would help then migrate from CommonJS require statement to ES Modules import.
import only supports absolute URLs.

This is one (small) step forward using ES Modules.

Assignee: nobody → poirot.alex
Status: NEW → ASSIGNED

This also required to migrate external dependencies to absolute URLs.

Pushed by apoirot@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/52aeaf51db4b [devtools] Use absolute URLs for require statements in Reps. r=devtools-reviewers,nchevobbe https://hg.mozilla.org/integration/autoland/rev/0c1f5a4f24e8 [devtools] Move JSONViewer to absolute URLs. r=devtools-reviewers,nchevobbe
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 134 Branch
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: