-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
feat(gatsby-plugin-sass): Add ability to override sassRuleTest and sassRuleModulesTest #16494
feat(gatsby-plugin-sass): Add ability to override sassRuleTest and sassRuleModulesTest #16494
Conversation
Add 2 new options for gatsby-sass-plugin - `sassRuleTest` to configure regex for sass files. - `sassRuleModulesTest` to configure regex for css modules files. Refer gatsbyjs#15879 for motivation behind this addition.
with guide to override file regex for sass and css modules.
Not relevant in the example
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good! Thank you for adding this @tkbky 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🥇
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
💯
…in-file-regex-config
Holy buckets, @tkbky — we just merged your PR to Gatsby! 💪💜 Gatsby is built by awesome people like you. Let us say “thanks” in two ways:
If there’s anything we can do to help, please don’t hesitate to reach out to us: tweet at @gatsbyjs and we’ll come a-runnin’. Thanks again! |
Published in |
Thanks @sidharthachatterjee |
Description
This PR adds 2 new options to gatsby-plugin-sass
sassRuleTest
to configure regex for sass files.sassRuleModulesTest
to configure regex for css modules files.Related Issues
Fixes #15879