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

Migrate to dart sass #1763

Merged
merged 3 commits into from
Aug 7, 2024
Merged

Migrate to dart sass #1763

merged 3 commits into from
Aug 7, 2024

Conversation

andysellick
Copy link
Contributor

@andysellick andysellick commented Aug 2, 2024

⚠️ This repo is Continuously Deployed: make sure you follow the guidance ⚠️

What

Migrate to dart sass from lib sass.

Note that this change relies on alphagov/govuk-docker#768 for local development.

Relates to alphagov/govuk_publishing_components#4106

Why

All applications using govuk_publishing_components should be using dart sass, and some changes coming in that gem may cause errors if applications aren't using dart sass.

Visual changes

None.

Trello card: https://trello.com/c/gW2NW1sB/239-fix-sass-compilation-warnings

@andysellick andysellick force-pushed the migrate-to-dart-sass branch 3 times, most recently from 9912b91 to b41be76 Compare August 2, 2024 13:41
@andysellick andysellick marked this pull request as ready for review August 2, 2024 14:03
@andysellick andysellick changed the title [DO NOT MERGE] Migrate to dart sass Migrate to dart sass Aug 2, 2024
@andysellick andysellick force-pushed the migrate-to-dart-sass branch 2 times, most recently from 287de21 to b959f11 Compare August 7, 2024 11:23
- Create `dartsass.builds` initializer and add all Sass files to be compiled. See https://github.com/rails/dartsass-rails#configuring-builds
- Create .keep
- Update manifest file to use /builds directory
- Ignore /builds
- Also, turn digests off in development
@andysellick andysellick merged commit 7548c23 into main Aug 7, 2024
10 checks passed
@andysellick andysellick deleted the migrate-to-dart-sass branch August 7, 2024 13:39
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 this pull request may close these issues.

2 participants