Skip to content

Add end of string modifier to build/serve ui regex #1629

@nklayman

Description

@nklayman

What problem does this feature solve?

The match regex in @vue/cli-ui/ui-defaults/tasks.js doesn't have an end of string modifier at the end of it ($). This means it matches vue-cli-service build:electron or something else similar. Since these defaults overwrite plugin ui config, this prevents developers like me for making their plugin work with the ui.

What does the proposed API look like?

Add $ to the end of the match regex for the build/serve commands. Created pr #1630 which does exactly this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions