-
-
Notifications
You must be signed in to change notification settings - Fork 209
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
Error when ctx.options.map is being used in postcss.config.js #497
Comments
Not sure if it can be related to #480 because a different loader is now being used. |
We don't have compatibility with webpack-cli due it was abandoned a long time, I will try to fix it |
Also I think you need to open an issue in
But I can pass |
@evilebottnawi thank you for the response and a light speed fix + release! The concerns you bring about Thank you again for such an outstanding project maintenance discipline with this quick fix! |
Expected Behavior
No failure with the valid
postcss.config.js
.Actual Behavior
Seeing an error
Code
postcss.config.js
(especially line84
mentioned in the error) has a configIt's a valid syntax as specified in postcss-cli docs, and
postcss-cli
works fine on it, only when this config is being loaded bypostcss-loader
in the context ofgatsby-plugin-postcss
then it fails.Additional Context
It happens during the Gatsby build, when gatsby-plugin-postcss uses
postcss-loader
to read the config. I have NOT opened an issue withgatsby-plugin-postcss
. The project is usinggatsby-plugin-postcss
version3.1.0
.The text was updated successfully, but these errors were encountered: