Encountering a warning while compiling an angular universal app:
Warning: Entry point 'my-module' includes deep imports from '/src/app/mocks/myModule.ts'. Although not necessarily problematic, it may lead to out of order compilation of entry points.
Successfully implemented a paths change in tsconfig to achieve desired functionality. Now seeking a way to disable this warning specifically. Wondering if there's a modification that can be made to tslint.json to either allow deep imports altogether or only in this particular instance.
Note on ESlint's nx-enforce-module-boundaries, which seems irrelevant as the project uses TSLint. Despite trying it with no success:
{
"extends": "tslint:recommended",
"rules": {
"nx-enforce-module-boundaries": [
true,
{
"allow": [
["/src/app/mocks/myModule.ts"]
]
}
],
...
No helpful solutions found in TSLint Rules. Open to any suggestions?