-
Notifications
You must be signed in to change notification settings - Fork 109
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
Vendor in Sass-MQ #601
Vendor in Sass-MQ #601
Conversation
Hey @pezholio thanks for looking at this, seems like a sensible change to me. I'll get a second pair of eyes on this but looks good 👍 |
Should we be using an includePath setting instead, and then have this in our scss: @import 'sass-mq/mq'; https://sass-lang.com/documentation/at-rules/import#load-paths |
This would require all users of this library to also have an includePath in their build settings. |
Hey, any news on this? We'd really like to get back using the main version of NHSUK frontend, but this is blocking us |
Happy to stick with the approach in the PR as this is consistent with GOVUK frontend. @pezholio please could you rebase this with |
@AdamChrimes All up to date and rebased! Lemme know if there's anything not quite right 👍 |
Thanks @pezholio will get this released as part of v4.1.0 hopefully this week (26th at the very latest). |
Description
We're trying to use NHSUK Frontend on a project which has a non-standard location for
node_modules
, and as a result, we were getting the following error:After a bit of Googling, I found that govuk-frontend had a similar problem and solved this by vendoring in SassMQ. I've attempted to replicate this approach in NHS Frontend too.
Thoughts welcome!
Checklist