-
Notifications
You must be signed in to change notification settings - Fork 320
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
Use standalone Sass task (no Gulp) #3258
Conversation
bc69475
to
fc20047
Compare
5a94369
to
a41ba5b
Compare
fc20047
to
4c42676
Compare
a41ba5b
to
fd82eef
Compare
fd82eef
to
3fb889b
Compare
7e009a5
to
d1efb00
Compare
3fb889b
to
b16c97b
Compare
d1efb00
to
211ec3b
Compare
b16c97b
to
46bf45f
Compare
211ec3b
to
79f0104
Compare
46bf45f
to
e629344
Compare
79f0104
to
adfc78b
Compare
e629344
to
ffa02d7
Compare
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.
LGTM
tasks/compile-stylesheets.mjs
Outdated
|
||
// Resolve @imports via | ||
includePaths: [ | ||
join(paths.src, 'govuk'), |
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.
Let's take this line out, just in case it causes something unexpected to happen - can always review later.
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.
All sorted, yep happy to wait. Thank you 👍
tasks/compile-stylesheets.mjs
Outdated
|
||
// Resolve @imports via | ||
includePaths: [ | ||
join(paths.src, 'govuk'), |
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.
See previous comment.
Preparation work to remove Vinyl file objects (used by Gulp) and follow the PostCSS config options: https://github.com/postcss/postcss-load-config#options * Allows `postcss-cli` to work * Keeps webpack file string compatibility
ffa02d7
to
5759251
Compare
This PR addresses
gulp-sass
not supporting the Dart Sass modern compilation APIIt moves our Sass
compile:scss
task into a separate file but also:compileStylesheet()
helper ready for deprecation log filteringIt follows the same approach we took for Rollup:
Due to
gulp-postcss
we haven't been able to follow the PostCSS config optionshttps://github.com/postcss/postcss-load-config#options
These changes now show a clear
from
→to
config for each stylesheetPackages removed include:
Ticks off some tasks from:
But primarily helps unblock: