Skip to content
This repository has been archived by the owner on Dec 18, 2018. It is now read-only.

@aspnet/signalr-client dont work with angular cli when run build prod mode #1136

Closed
ngohungphuc opened this issue Nov 18, 2017 · 3 comments
Closed

Comments

@ngohungphuc
Copy link

I got this error when running ng build --prod. The source map lead me to the signalR file in node_modules

image

@moozzyk
Copy link
Contributor

moozzyk commented Nov 18, 2017

Look at #765 and #729

@ngohungphuc
Copy link
Author

ngohungphuc commented Nov 19, 2017

temporary fix i have to comment out
import * as signalR from '@aspnet/signalr-client';

and replace with
delare var signalR: any;

@moozzyk
Copy link
Contributor

moozzyk commented Nov 22, 2017

Looks like this issue can be closed.

@moozzyk moozzyk closed this as completed Nov 22, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants