Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

mocks - add annotations to enable minification #2250

Closed
@cgross

Description

@cgross

The angular-mocks module wasn't expected to be shipped and therefore never minified but we've found some cases where we'd like to ship it. Specifically, we use the e2e stuff to provide a local storage layer to our app in cases where we want to ship the ui w/o the true backend. (We intercept the calls and redirect to some local storage code). This is quite useful for sales demos, etc.

We can't minify angular-mocks.js right now because it doesn't have the correct annotations for injection. If those are added back in it prevents the mocks module from having to be treated as a special case.

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