Closed Bug 588661 Opened 15 years ago Closed 15 years ago

"loader" option in package.json needs to be prioritized the other way

Categories

(Add-on SDK Graveyard :: General, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: avarma, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

Currently, if a package declares a "loader" in package.json and depends on another package that also declares a "loader", the dependency wins out--yet it should actually be the case that the main package's loader overrides the dependency.
Attached patch patch (obsolete) — Splinter Review
Attachment #467271 - Attachment is obsolete: true
Comment on attachment 467275 [details] [diff] [review] patch with unit test Myk, can you review this? I think this is all that's really needed, we don't need to introduce the new functionality in bug 588583.
Attachment #467275 - Flags: review?(myk)
Comment on attachment 467275 [details] [diff] [review] patch with unit test Looks good, works well. r=myk
Attachment #467275 - Flags: review?(myk) → review+
Pushed! Bug 588661 - "loader" option in package.json needs to be prioritized the other way Atul Varma [:atul] http://hg.mozilla.org/labs/jetpack-sdk/rev/c6b37d573a22
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
The Add-on SDK is no longer a Mozilla Labs experiment and has become a big enough project to warrant its own Bugzilla product, so the "Add-on SDK" product has been created for it, and I am moving its bugs to that product. To filter bugmail related to this change, filter on the word "looptid".
Component: Jetpack SDK → General
Product: Mozilla Labs → Add-on SDK
QA Contact: jetpack-sdk → general
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: