Open Bug 1773467 Opened 2 years ago Updated 1 year ago

[meta] Move existing in-tree ES modules to use mjs file extension

Categories

(Toolkit :: General, task, P3)

task

Tracking

()

People

(Reporter: standard8, Unassigned)

References

(Depends on 3 open bugs)

Details

(Keywords: meta)

With the transition to using ES modules rather than JSMs getting started, we are going to be using the .mjs extension for those files.

I'd like to transition our content code that is using modules to use the .mjs extension as well - the primary gains of this are that we a) don't need to manually specify sourceType: module for ESLint, b) this gives a visual distinction to developers that the file is a module rather than a regular JavaScript file.

Depends on: 1773468
Depends on: 1773469
Depends on: 1776406
Depends on: 1776408
Depends on: 1777445
Depends on: 1778106
Depends on: 1778105
Depends on: 1778107
Depends on: 1778109
Depends on: 1778110
Depends on: 1778112
Depends on: 1799137
No longer depends on: 1838440
You need to log in before you can comment on or make changes to this bug.