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

fix(scss): amend sass loadpaths to include node_modules directory #928

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

chrispymm
Copy link
Contributor

This allows us to remove the node modules prefix from the govuk scss import in all.scss. Which would resolve loading issues for users.

BREAKING CHANGE: This PR changes the loadpath for govuk frontend. You will now need to ensure your project SASS configuration includes node_modules within its loadpaths in order to compile, however this is often default behaviour in many build tools.

fix #927

This allows us to remove the node modules prefix from the govuk scss
import in all.scss. Which would resolve loading issues for users.

BREAKING CHANGE: This PR changes the loadpath for govuk frontend.  You
will now need to ensure your project SASS configuration includes
node_modules within its loadpaths in order to compile, however this is
often default behaviour in many build tools.

fix #927
@chrispymm chrispymm added bug A task that fixes something that isn't working breaking change labels Nov 15, 2024
@starswan
Copy link
Contributor

Hi, there is one module that also use node_modules - cookie_banner. It would be nice to fix that one at the same time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
breaking change bug A task that fixes something that isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Design system sass import broken in Rails apps
2 participants