Is module.register
scoped to the called file or the rest of the process?
#55955
Unanswered
devjiwonchoi
asked this question in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Example
While running a process, there's a case where I need to register a hook to resolve TypeScript.
This process is held at
./foo.js
, and is conditional. This./foo.js
file will be called multiple times.Question
./foo.js
file is called multiple times, can the hook be registered multiple times?a. Throughout the process.
b. This file
./foo.js
scope.Beta Was this translation helpful? Give feedback.
All reactions