Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postcss loader should ignore the --config flag #282

Closed
spalger opened this issue Aug 2, 2017 · 1 comment
Closed

postcss loader should ignore the --config flag #282

spalger opened this issue Aug 2, 2017 · 1 comment

Comments

@spalger
Copy link

spalger commented Aug 2, 2017

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.

@spalger
Copy link
Author

spalger commented Aug 2, 2017

Oops, looks like this was fixed in #174

@spalger spalger closed this as completed Aug 2, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant