Skip to content

bazel schematic builds prod bundle for ng test #30191

Closed

Description

@alexeagle

ng test should just run the unit tests, not run rollup and terser to bundle the production app.

(this happens because we do bazel test //src/... which also builds all the buildable things. Adding tags=['manual'] on targets that are only needed for production is one way to solve it)

Activity

  1. added this to the Backlog milestone on Apr 29, 2019
  2. alexeagle commented on Apr 29, 2019

    @alexeagle
    ContributorAuthor

    Even simpler fix is for the "test" builder to have "options: { "targetLabel": "//src/app/..." } so it skips all top-level targets. This assumes there aren't any unit tests in the //src package.

  3. self-assigned this
    on May 16, 2019
  4. angular-automatic-lock-bot commented on Sep 15, 2019

    @angular-automatic-lock-bot

    This issue has been automatically locked due to inactivity.
    Please file a new issue if you are encountering a similar or related problem.

    Read more about our automatic conversation locking policy.

    This action has been performed automatically by a bot.

  5. locked and limited conversation to collaborators on Sep 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions