aboutsummaryrefslogtreecommitdiff
path: root/node_modules/resolve/lib/normalize-options.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/resolve/lib/normalize-options.js')
-rw-r--r--node_modules/resolve/lib/normalize-options.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/node_modules/resolve/lib/normalize-options.js b/node_modules/resolve/lib/normalize-options.js
new file mode 100644
index 0000000..4b56904
--- /dev/null
+++ b/node_modules/resolve/lib/normalize-options.js
@@ -0,0 +1,10 @@
+module.exports = function (x, opts) {
+ /**
+ * This file is purposefully a passthrough. It's expected that third-party
+ * environments will override it at runtime in order to inject special logic
+ * into `resolve` (by manipulating the options). One such example is the PnP
+ * code path in Yarn.
+ */
+
+ return opts || {};
+};