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

Build: Replace Node Sass with Dart Sass #2457

Merged
merged 3 commits into from
Jan 15, 2025

Conversation

EricDunsworth
Copy link
Member

@EricDunsworth EricDunsworth commented Dec 19, 2024

Minimum changes needed to get it to successfully build.

Contains countless deprecation warnings, but those can be dealt with in the future.

GCWeb port of wet-boew/wet-boew#9840.

Specifically:
* Package: Temporarily replaced WET dependency (github:wet-boew/wet-boew#v4.0.83) with wet-boew/wet-boew#9840's branch
* Gruntfile: Temporarily disabled "check-wet-version" task (to avoid a version mismatch)
Replaces GCWeb's direct Sass dependencies (i.e. not from its WET dependency):
* Package: Replace node-sass with sass (aka Dart Sass)
* Gruntfile: Update sass variable's requirement from "node-sass" to "sass"
@EricDunsworth
Copy link
Member Author

Marking this as a draft since I haven't tried going over its outputted CSS at all and since the second commit technically makes it unmerge-able (only point of it was to prove a GCWeb+WET Dart Sass setup is able to successfully build).

Gruntfile.coffee Outdated Show resolved Hide resolved
@duboisp
Copy link
Member

duboisp commented Dec 23, 2024

I tried to build on a fresh system (npm install and npm ci) and I can't because I am getting an error related to "PhantomJS not found on PATH"

But it does work on my other system. I am able to successfully compile with npm install.
I did a spot functional test and and the site seem to be rendered as expected.

cc @Garneauma

@Garneauma
Copy link
Contributor

Pre-approved upon successful review.

@EricDunsworth EricDunsworth marked this pull request as ready for review January 13, 2025 16:39
@duboisp duboisp added this to the v16.1.0 milestone Jan 15, 2025
@Garneauma Garneauma merged commit 0afcacd into wet-boew:master Jan 15, 2025
1 check passed
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.

3 participants