Open
Bug 1558542
Opened 5 years ago
Updated 2 years ago
Convert activity-stream code to use standard module paths
Categories
(Firefox :: Messaging System, task, P3)
Firefox
Messaging System
Tracking
()
NEW
People
(Reporter: k88hudson, Unassigned)
References
(Blocks 1 open bug)
Details
Right now we support absolute paths in our module imports; e.g.
import {DSCard} from "content-src/components/DSCard/DSCard.jsx";
in order to support other module loaders (including native ES modules) we could consider moving to relative imports:
import {DSCard} from "../../components/DSCard/DSCard.jsx";
Updated•5 years ago
|
Type: defect → task
Comment 1•5 years ago
|
||
We could also consider using dynamic imports to avoid the ".." problems (changing directory structure is painful; it's easy to mis-remember or mis-type the correct number of .. components). There would be tradeoffs, of course...
Updated•5 years ago
|
Priority: -- → P2
Updated•5 years ago
|
Component: Activity Streams: Newtab → Messaging System
Updated•4 years ago
|
Priority: P2 → P3
Updated•2 years ago
|
Severity: normal normal → S3 S3
You need to log in
before you can comment on or make changes to this bug.
Description
•