Overlays Issue #3

Open
nrstott opened this Issue Aug 13, 2010 · 0 comments

Comments

Projects
None yet
1 participant
@nrstott

nrstott commented Aug 13, 2010

I have a proof of concept package that I believe demonstrates an issue with the 'overlays' functionality

For this mapping:
{
"mappings": {
"main": "./lib/main"
},
"overlay": {
"node": {
"mappings": {
"enginetest": "./engines/node/test"
}
}
}
}

the "enginetest" attempts to be resolved at one level ABOVE the root of the package (where the package.json is located)

My package.json is on /working/poc
require("engines") in /working/poc/main.js looks for "test.js" in /working/engines/node/test.js and receives a no such file or directory error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment