I am experiencing an issue where my factory components that are also node modules are not instantiated but the functions are marked as literals.
The statement module['@literal'] = true; in loaders/node_modules (line 6) is causing this. Changing it to if (module['@literal'] === undefined) module['@literal'] = true; should solve the problem.
Another option is to remove the above mentioned line entirely and use the container's _registerModule function. The default pattern for anything that is not a function is already literal there.
I am experiencing an issue where my factory components that are also node modules are not instantiated but the functions are marked as literals.
The statement
module['@literal'] = true;
in loaders/node_modules (line 6) is causing this. Changing it toif (module['@literal'] === undefined) module['@literal'] = true;
should solve the problem.Another option is to remove the above mentioned line entirely and use the container's
_registerModule
function. The default pattern for anything that is not a function is already literal there.