aboutsummaryrefslogtreecommitdiff
path: root/node_modules/resolve/test/resolver/incorrect_main
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/resolve/test/resolver/incorrect_main')
-rw-r--r--node_modules/resolve/test/resolver/incorrect_main/index.js2
-rw-r--r--node_modules/resolve/test/resolver/incorrect_main/package.json3
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 0000000..bc1fb0a
--- /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 0000000..b718804
--- /dev/null
+++ b/node_modules/resolve/test/resolver/incorrect_main/package.json
@@ -0,0 +1,3 @@
+{
+ "main": "wrong.js"
+}