paint-brush
Conditional module imports in Angularby@luukgruijs
15,893 reads
15,893 reads

Conditional module imports in Angular

by Luuk Gruijs1mSeptember 17th, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Whenever you’re introducing third-party services to your <a href="https://hackernoon.com/tagged/angular" target="_blank">Angular</a> application there are cases that you need those services only for development, testing or production. To keep your builds as fast and small as possible you want to import those services conditionally.

Company Mentioned

Mention Thumbnail
featured image - Conditional module imports in Angular
Luuk Gruijs HackerNoon profile picture
Luuk Gruijs

Luuk Gruijs

@luukgruijs

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite
Stackoverflow
Kiwix
Appsloveworld
Javaer101
Github
Gitlab
Squarespace
Learningactors
Thecodeteacher