One year after, this bug is still unsolved. When I import material 2 inside my angular 4 project, my AOT compilation is throwing me this insult :
/dist/ngfactory/node_modules/@angular/material/typings/index.ngfactory.ts:9
import * as i0 from '@angular/core';
^^^^^^
SyntaxError: Unexpected token import
If you have even a fraction of idea, I'm taking it! Thank you!