Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

toast.service build prod error #412

Closed
Anberm opened this issue May 5, 2019 · 2 comments
Closed

toast.service build prod error #412

Anberm opened this issue May 5, 2019 · 2 comments
Assignees

Comments

@Anberm
Copy link
Contributor

Anberm commented May 5, 2019

Version

0.12.0

Environment

window10 & Google Chrome72.0.3626.109

Reproduction link

https://stackblitz.com/edit/ng-zorro-antd-mobile-start?file=src/app/app.component.ts

Steps to reproduce

1.build prod
2.run

What is expected?

good running

What is actually happening?

error

Other?

The toast.service.ts build prod failure, mainly is the Toast._toastCompFactory = this._cfr.resolveComponentFactory(ToastComponent);
image
image

@Anberm
Copy link
Contributor Author

Anberm commented May 6, 2019

@Guoyuanqiang I changed the way toast.ervice is exported and it works. I know the solution, but I fail to understand the cause of the problem

@fisherspy
Copy link
Collaborator

#440

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants