Open
Bug 1213028
Opened 9 years ago
Updated 2 years ago
Enable Node-style module resolution for DevTools loader
Categories
(DevTools :: General, enhancement, P3)
DevTools
General
Tracking
(Not tracked)
NEW
People
(Reporter: jryans, Unassigned)
References
(Blocks 1 open bug)
Details
Looks like we can enable Node-style resolution like:
resolve("devtools/bob")
loads `devtools/bob/index.js` if `bob` is a directory.
This should just mean setting `isNative: true` on the loader.
Comment 1•9 years ago
|
||
There may be some overhead here, as it checks to see if `bob.js` exists first, then `bob/{main}`, where {main} is defined by `bob/package.json`'s "main" entry, then `bob/index.js`.
Updated•6 years ago
|
Product: Firefox → DevTools
Updated•4 years ago
|
Type: defect → enhancement
Priority: -- → P3
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•