Yes, require.s.contexts._.defined
is an object which its keys are the module names and the values include the value returned from that module.
require.s.contexts._.defined
includes all the modules (either define()
or require()
such as the Javascript file that is the starting point of the program and is indicated using data-main
for RequireJS).
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…