Skip to content

[feature] vuePlugins.resolveFrom support for array #2103

Open
@AlexandreBonaventure

Description

@AlexandreBonaventure

What problem does this feature solve?

vuePlugins.resolveFrom has been implemented in recent version of vue-cli. (see d212dcd)
It allows to define a path where the plugins are resolved. This adress the use-case where you want to share a config across different projects (leveraging workspaces for instance)

However, restraining the value with a single value is a bit restrictive and does not allow to add plugin for a specific project.
Example: If I want to have the e2e plugin for only one project. I would like to resolve plugins both from root AND shared config

What does the proposed API look like?

Make it support array like this:

{
  "vuePlugins": {
    "resolveFrom": ["./", ".config"]
  }
}

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions