Simple Angular 9 project compiles whole Angular Material (es2015 as esm2015) December 7, 2023 by Tarik In tsconfig.json at the: lib array add es2015. Target change to es2015 Hope it works for you.