After doing AOT build with webpack bundle inludes every component template two times making the bundle much bigger than needed as templates are included as strings which cannot be minified by UglifyJS.
I expect component templates to be excluded as strings. They are already handled by ngc and built into compiled components.
Anyone know why its happening or how to fix it?