What's New in and How to Upgrade to Angular 6

Niklas Speich Hegnelt

You can use the ‘paths’ section in tsconfig.json to make imports less ugly, for example:

“paths”: {
@features/": ["libs/shared/features/”],
@components/": ["libs/shared/components/”]
}

then you can import like so:

import { MyComponent } from ‘@components/my-component’