Convert some 'common' newtab modules to ES modules
Categories
(Firefox :: New Tab Page, task)
Tracking
()
Tracking | Status | |
---|---|---|
firefox110 | --- | fixed |
People
(Reporter: standard8, Assigned: standard8)
References
Details
(Whiteboard: [esmification-timeline])
Attachments
(3 files)
Splitting this out from bug 1780074 to focus on a small sub-set of modules initially.
We can move some files in browser/components/newtab/common
across to ES modules, with only a small change to the jsm -> commonjs processor.
As far as I can tell, this all works correctly. There's still lots more to resolve, but this would be a step in the right direction.
Assignee | ||
Comment 1•3 years ago
|
||
This will allow easier development/changes as we proceed to migrate newtab code to ES modules.
The file was imported from https://github.com/k88hudson/babel-plugin-jsm-to-commonjs/blob/3fefb99f274c26dc743fadeb79153594a9e2b900/plugin.js
with LICENSE added, and formatted/fixed to ESLint standards.
Assignee | ||
Comment 2•3 years ago
|
||
Depends on D165819
Assignee | ||
Comment 3•3 years ago
|
||
Depends on D165820
Assignee | ||
Comment 4•3 years ago
|
||
Assignee | ||
Updated•3 years ago
|
Comment 6•3 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/5862825b3e62
https://hg.mozilla.org/mozilla-central/rev/b10fcbb66751
https://hg.mozilla.org/mozilla-central/rev/7fe2e65a09ff
Description
•