On my Angular workspace setup, I got 3 libs and one app (more will come in future). The TypeScript paths setup is like so:
"paths": {
"@lib/a/*": [
"projects/libs/a/*",
"projects/libs/a"
],
"@lib/a": [
"dist/a/*",
"dist/a"
],
"@lib/b/*": [
"projects/libs/b/*",
"projects/libs/b"
],
"@lib/b": [
"dist/b/*",
"dist/b"
],
"@lib/c/*": [
"projects/libs/c/*",
"projects/libs/c"
],
"@lib/c": [
"dist/c/*",
"dist/c"
],
}
Everything builds fine but live reload from application when running ng serve
is not working.
I tried a different path setup which was working but the error Unable to reference...
appeared and then libs are not building anymore.
Do you have any ideas why ?