whimboo just hit that issue while repacking memchaser with SDK 1.13.x
We have a regression of the mapping feature that allows to make addon to work with new module layout.
Given an addon with a local memory module:
const memory = require("memory");
Will return `sdk/deprecated/memory` instead of `./memory`.
I think this definitely warrants inclusion in 1.14 (especially if it gets fixed sometime this week).
If we're still targeting 1.14 for a mass repack, this would probably help us successfully repack addons much more easily.
Created attachment 715424 [details]
Pull request 800
Henrik, it would be really handy if you can confirm that it actually allows you to repack memchase without any modification.
Sorry, that I haven't had time to check this yesterday. Given r- now I assume no testing is necessary at this point?
Commits pushed to master at https://github.com/mozilla/addon-sdk
Bug 842486 - Fix priority of modules matched by mapping file.
Merge pull request #800 from ochameau/mapping-priority
Bug 842486 - Fix priority of modules matched by mapping file. r=@gozala