summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoyee Cheung <joyeec9h3@gmail.com>2018-03-14 12:51:53 +0800
committerJoyee Cheung <joyeec9h3@gmail.com>2018-03-15 20:50:35 +0800
commit54de79b16e6eaf0b85fb40133dfc0f15016ef103 (patch)
treea9bde44756f95b4ab3c7fabb02f12b47fd23aa05
parentc2b01881dcb3bf302f9d83157e719cc5240a9042 (diff)
downloadnode-new-54de79b16e6eaf0b85fb40133dfc0f15016ef103.tar.gz
lib: add back lib/module.js redirection
The previous commit deleted lib/module.js so that git recognize the file move `lib/module.js` -> `lib/internal/modules/cjs/loader.js`. This commit add the redirection back. PR-URL: https://github.com/nodejs/node/pull/19177 Refs: https://github.com/nodejs/node/pull/19112 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
-rw-r--r--lib/module.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/module.js b/lib/module.js
new file mode 100644
index 0000000000..962f18b054
--- /dev/null
+++ b/lib/module.js
@@ -0,0 +1,3 @@
+'use strict';
+
+module.exports = require('internal/modules/cjs/loader');