Skip to content

Problem running a production build #10

Description

@smlombardi

The component works great with ng serve, but when I try to build by project angular-cli throws an error:

ERROR in Unexpected value 'SwitchComponent in /Users/stevelombardi/github/ng-designsystem/client/node_modules/angular2-bootstrap-switch/lib/switch.component.d.ts' declared by the module 'WebModule in /Users/stevelombardi/github/ng-designsystem/client/src/app/web/web.module.ts'. Please add a @Pipe/@Directive/@Component annotation.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions