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

Angular 4 / SignalR angular-cli production build fails #765

Closed
@maartenmensink

Description

@maartenmensink

When trying to incoperate a SignalR hub in to a angular 4 project i encounter a issue when creating a production build with angular-cli.

Repo to reproduce issue: https://github.com/maartenmensink/signal-core-test-prod-build

Steps:

  • npm install
  • ng build --prod --sm --verbose

Should give error:

ERROR in vendor.b0045e4649a2b76539df.bundle.js from UglifyJs
Unexpected token: name (Subject) [C:/projects/test/signal-core-test-prod-build/node_modules/@aspnet/signalr-client/dist/src/Observable.js:3,0][vendor.b0045e4649a2b76539df.bundle.js:17107,6]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions