This project was generated with Angular CLI version 1.6.1.
- Basic ng new app
- Added a big TS file (a generated parser) placed at
/src/app/parser.ts
and called from app.component.
The project is valid TS. This works:
tsc
ng serve
ng build
ng build -env prod
This does not work:
ng build -prod
Hangs forever.
Disabling the build-optimizer works again.
ng build -prod --build-optimizer=false