Please sign in to comment.
module: explicitly initialize CJS loader
Explicitly initialize the CJS loader with `module._initPaths()` instead of making it a side-effect of requiring `internal/modules/cjs/loader` - that makes it harder to reason about when it's safe to load `internal/modules/cjs/loader`. PR-URL: #27313 Reviewed-By: Gus Caplan <email@example.com> Reviewed-By: Ruben Bridgewater <firstname.lastname@example.org>
- Loading branch information...
Showing with 16 additions and 13 deletions.