diff options
Diffstat (limited to 'node_modules/resolve/test/resolver/incorrect_main')
-rw-r--r-- | node_modules/resolve/test/resolver/incorrect_main/index.js | 2 | ||||
-rw-r--r-- | node_modules/resolve/test/resolver/incorrect_main/package.json | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/node_modules/resolve/test/resolver/incorrect_main/index.js b/node_modules/resolve/test/resolver/incorrect_main/index.js new file mode 100644 index 000000000..bc1fb0a6f --- /dev/null +++ b/node_modules/resolve/test/resolver/incorrect_main/index.js @@ -0,0 +1,2 @@ +// this is the actual main file 'index.js', not 'wrong.js' like the package.json would indicate +module.exports = 1; diff --git a/node_modules/resolve/test/resolver/incorrect_main/package.json b/node_modules/resolve/test/resolver/incorrect_main/package.json new file mode 100644 index 000000000..b71880417 --- /dev/null +++ b/node_modules/resolve/test/resolver/incorrect_main/package.json @@ -0,0 +1,3 @@ +{ + "main": "wrong.js" +} |