Each time the typescriptLoader is executed, ts-node will execute registerExtension() once.
Multiple executions of the typescriptLoader will get
require.extensions[ext] = wrapper(wrapper(wrapper(wrapper(wrapper(... wrapper(originalHandler))))).
ts-node source code
This will cause the out of memory when require.extensions[ext] is executed. #638
This PR contains a:
Motivation / Use-Case
Breaking Changes
Additional Info
Each time the
typescriptLoader
is executed, ts-node will executeregisterExtension()
once.Multiple executions of the
typescriptLoader
will getrequire.extensions[ext] = wrapper(wrapper(wrapper(wrapper(wrapper(... wrapper(originalHandler)))))
. ts-node source codeThis will cause the out of memory when
require.extensions[ext]
is executed. #638