Skip to content

Custom builder #309

@oschlegel

Description

@oschlegel

Angular provides the possibility to extend the default builders by wrapping it with a custom builder. This means that the angular playground package could provide a custom builder for the build, serve and possibly even additional commands which are custom to angular playground like check-errors. These builders could include the logic which is currently included in the angular playground cli and therefore eliminate the need for the angular playground cli. This could also eliminate the need for angular-playground.json since the configuration for the playground could then be placed in the configuration of the build command in the angular.json.

Using the native angular cli commands instead of a custom cli would make the angular playground more intuitive and easier to use. Another benefit would be that in multi project workspaces the angular playground would be easier to integrate in continuous integration workflows.

Please let me know what you think of the idea, of if you already discussed a similar approach.

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