Closed Bug 1843852 Opened 2 years ago Closed 8 months ago

Migrate JSON Viewer from require.js/AMD modules to ESM

Categories

(DevTools :: JSON Viewer, task)

task

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ochameau, Unassigned)

References

(Depends on 1 open bug, Blocks 1 open bug)

Details

Bug 1843438 should allow to load JSON Viewers as ESM instead of require.js/AMD modules.

Quick update on this task.

This isn't trivial as the JSON Viewer uses shared modules with the rest of DevTools frontend.
We would have to migrate all nested dependencies to be able to be loaded as ESM from JSON Viewer, as well as from other DevTools modules.
This includes the React/Redux modules.

I don't recall now if bug 1843438 was really a must have, or rather a nice to have in order to start from an actual real HTML document to have functional ESM.

Depends on: 1929387

JSON Viewer has been migrated to ES Modules via bug 1929387.

Status: NEW → RESOLVED
Closed: 8 months ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.