My app works fine in AoT however when switching to JIT, I get:
Uncaught Error: Unexpected value 'undefined' imported by the module
Sure enough the module is undefined when I set a breakpoint and inspect it. The module that is undefined is imported as such:
import { SharedComponentModule } from '@app/components';
@app/components is defined in a typescript path like so:
...
"@app/components": [
"app/core/components/index"
],
the barrel that exports the moudle:
...
export { SharedComponentModule } from './shared-component.module';