Skip to content

Not using local version on monorepos #9

@sQVe

Description

@sQVe

Hey 👋,

I've tried to use prettier_d_slim on a mono repo and I cannot get it to work properly. It constantly falls back to the prettier version listed as a dependency of this package.

We have multiple packages that all run prettier but they do not have prettier listed in their node_modules separately. prettier is instead listed in the monorepo. This is a common setup for lerna based monorepos.

What's even more confusing is that prettier_slim_d doesn't even pick up the config when falling back to the default prettier.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions