While reviewing code from someone else, I came across this snippet:
import { NGSWUpdateService } from '@ngsw/ngsw-update.service';
Impressively, the developer managed to use '@ngsw/ngsw-update.service'
instead of the original lengthy path
'src/client/app/shared/ngsw/ngsw-update.service'
.
I'm curious how they accomplished that and how I can implement it myself to avoid importing from such long paths.