I'm submitting a ... (check one with "x")
[x] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question
Current behavior
Minified bundle breaks, but SOLVED temporarily by either:
Error traces:
lib-2cf12bf509.js:7 Unhandled Promise rejection: Template parse errors:
Can't bind to 'brand' since it isn't a known property of 'as-navbar'.
1. If 'as-navbar' is an Angular component and it has 'brand' input, then verify that it is part of this module.
2. If 'as-navbar' is a Web Component then add "CUSTOM_ELEMENTS_SCHEMA" to the '@NgModule.schema' of this component to suppress this message.
("<as-navbar [ERROR ->][brand]="appBrand"></as-navbar>
<div class="container" style="margin-top: 100px;">
<router-outlet></"): a@0:11 ; Zone: <root> ; Task: Promise.then ; Value:
Expected/desired behavior
The minified bundle should work as in RC4
Reproduction of the problem
https://github.com/OasisDigital/rc5-declaration-order
npm install
// try run in dev, it works well now
npm start
// try run in prod, the bundle created but break
npm run serve-build
// now try changing the mangle option and retry, it works!
What is the expected behavior?
Should work as in RC4
What is the motivation / use case for changing the behavior?
Please tell us about your environment:
- Angular version: 2.0.0-rc.5
- Browser: [all | Chrome 52 | Web Browser
- Language: [all | TypeScript 1.8.10]
I'm submitting a ... (check one with "x")
Current behavior
Minified bundle breaks, but SOLVED temporarily by either:
mangleoff (change the option here)Error traces:
Expected/desired behavior
The minified bundle should work as in RC4
Reproduction of the problem
https://github.com/OasisDigital/rc5-declaration-order
What is the expected behavior?
Should work as in RC4
What is the motivation / use case for changing the behavior?
Please tell us about your environment: