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

Support for postcss ProcessOptions #45

Open
CallumJHays opened this issue Jan 9, 2021 · 1 comment · May be fixed by #46
Open

Support for postcss ProcessOptions #45

CallumJHays opened this issue Jan 9, 2021 · 1 comment · May be fixed by #46

Comments

@CallumJHays
Copy link

Currently, I can't use this plugin with the syntax or parser options in postcss.config.js. There might be other options that I'm not aware of.

These could be loaded in with "postcss-load-config", but currently NextJS displays a warning as it does not pass these options to process() either. Another alternative would be to have these options in this plugins' options instead.

@CallumJHays
Copy link
Author

I've since realized I only needed this because I was unnecessarily using sass-style comments in css. I'm not sure what other useful parsers / syntaxes / etc are out on the market but the PR I've opened should allow for any of those.

I'm wondering why nextjs explicitly doesn't support these options either, do they have their own postcss implementation?

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

Successfully merging a pull request may close this issue.

1 participant