Open
Description
Changing from angular/cli:"1.2.0-beta.1" to angular/cli:"^1.4.9"
and running
ng build --prod
causes the following output:
WARNING in ./src/app/app.component.ts
10:64-75 "export 'Store' (imported as 'Redux') was not found in 'redux'
WARNING in ./src/app/chat-nav-bar/chat-nav-bar.component.ts
15:71-82 "export 'Store' (imported as 'Redux') was not found in 'redux'
WARNING in ./src/app/chat-threads/chat-threads.component.ts
24:72-83 "export 'Store' (imported as 'Redux') was not found in 'redux'
WARNING in ./src/app/chat-window/chat-window.component.ts
40:71-82 "export 'Store' (imported as 'Redux') was not found in 'redux'
ERROR in ng:///path/to/Project/angular2-redux-chat-master/src/app/chat-message/chat-message.component.html (12,8): Property 'sender' does not exist on type 'Message'.
on ng build or npm start everthing works fine.
Why is the reference changing in production / can't be resolved?
I also noticed that all import * as Redux from 'redux'; 'warned' except for the import in app.store.ts .
This is also working when replacing the original import with the otherwise warning import * and referencing to Redux.Store for example.
Any help would be appreciated :)
Metadata
Metadata
Assignees
Labels
No labels