Skip to content

Improve --skip-plugins #5477

@Fl0pZz

Description

@Fl0pZz

What problem does this feature solve?

I try use vue-cli ecosystem with yarn install --production.

For this i separate @vue/cli-plugins-*:
dependencies

  • @vue/cli-service
  • @vue/cli-plugin-babel

devDependencies

  • @vue/cli-plugin-eslint

Then i try to build my app:

vue-cli-service build --skip-plugins @vue/cli-plugin-eslint

And got an error:
Error: Cannot find module '@vue/cli-plugin-eslint'

That's because the Service.js tries to find all the plugins first and skips some of them just to run them.

What does the proposed API look like?

I'll think, skipPlugins must use before resolvePlugin.

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