Angular CLI: 6.0.0-rc.1
Node: 8.11.1
OS: linux x64
Angular: 6.0.0-rc.1
... animations, cli, common, compiler, compiler-cli, core, forms
... http, language-service, platform-browser
... platform-browser-dynamic, router
@angular-devkit/architect: 0.5.1
@angular-devkit/build-angular: 0.5.1
@angular-devkit/build-optimizer: 0.5.1
@angular-devkit/core: 0.5.1
@angular-devkit/schematics: 0.5.1
@ngtools/json-schema: 1.1.0
@ngtools/webpack: 6.0.0-rc.1
@schematics/angular: 0.5.1
@schematics/update: 0.5.1
typescript: 2.7.2
webpack: 4.5.0
Linux (Debian 8)

I want to see the demo page, but I see an error in the console.
I think this happens because Build Optimizer does not support ES2015 yet. This is something we mean to support. Meanwhile you can turn off Build Optimizer in your production configuration in the angular.json file.
@filipesilva is there any urgency to fixing this? Or is it like if we set the output to es6 then it's already "optimized" and we're not losing much by not having Build Optimizer.
Heya, just wanted to mention that we are tracking this problem in https://github.com/angular/devkit/issues/816.
@markgoho I don't have an exact timeframe but it is definitely a 6.x concern.
It only took 6 hours of troubleshooting to find this thread but in the angular.json file this works:
"buildOptimizer": false,
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
It only took 6 hours of troubleshooting to find this thread but in the angular.json file this works:
"buildOptimizer": false,