Please sign in to comment.
adding tests to reproduce the problem
- resolver test shows that async resolve fails when main field in package.json is incorrect - resolver_sync test shows that sync resolve finds index.js under same circumstance
- Loading branch information...
Showing with 30 additions and 0 deletions.
|@@ -0,0 +1,2 @@|
|+// this is the actual main file 'index.js', not 'wrong.js' like the package.json would indicate|
|+module.exports = 1;|