Skip to content

Suggest use as a dev_dependency instead of global install #2497

Open
@sigurdm

Description

@sigurdm

Why don't we recommend installing webdev as a dev_dependency? (here).

Then we could add the constraints

dependencies:
  build_runner: ^2.4.0
  build_web_compilers: ^4.0.4

And we would not have to manually validate constraints of the current apps pubspec.lock, but rely on the pub solver to do it..

Maybe I'm missing something obvious. But it seemed to work when I tried.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3A lower priority bug or feature requestpackage:webdevtriagedtype-enhancementA request for a change that isn't a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions