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.

Backport-PR-URL: https://github.com/nodejs/node/pull/19374
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>
This commit is contained in:
Joyee Cheung
2018-03-14 12:51:53 +08:00
committed by Michaël Zasso
parent 45c477c2e6
commit 8e440115ec

3
lib/module.js Normal file
View File

@@ -0,0 +1,3 @@
'use strict';
module.exports = require('internal/modules/cjs/loader');