So your Angular 6 project just went a bit beyond TODO app and you have to customize your build configuration. The question is how? In Angular CLI 1.x (Angular 5) you had ng eject command for this, which was ejecting the whole underlying webpack configuration and allowing you to modify it as you please.
Full article