Skip to content

postcss loader should ignore the --config flag #282

@spalger

Description

@spalger

Got a strange build error today while using a CLI that embeds postcss as a library. The CLI supports passing a --config flag, which was being read by cosmiconfig, which is used by postcss-load-config, which this module uses to load config files. I'm assuming that using the --config flag is desired for postcss-load-config, but I can't imagine a scenario where a user would expect the postcss loader for webpack to use it.

I'll submit a PR soon, but figured an issue should be created too.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions