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

Switch to Dart Sass and Sass modules. #348

Merged
merged 45 commits into from
Jan 4, 2021
Merged

Switch to Dart Sass and Sass modules. #348

merged 45 commits into from
Jan 4, 2021

Conversation

jgerigmeyer
Copy link
Member

@jgerigmeyer jgerigmeyer commented Jun 10, 2020

platypus

Todo:

@jgerigmeyer jgerigmeyer changed the base branch from bug-rem-size to master June 12, 2020 20:53
@jgerigmeyer jgerigmeyer marked this pull request as ready for review June 13, 2020 14:35
@codecov
Copy link

codecov bot commented Jun 13, 2020

Codecov Report

❗ No coverage uploaded for pull request base (master@ddaa9fc). Click here to learn what that means.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             master      #348   +/-   ##
==========================================
  Coverage          ?   100.00%           
==========================================
  Files             ?        24           
  Lines             ?       997           
  Branches          ?       220           
==========================================
  Hits              ?       997           
  Misses            ?         0           
  Partials          ?         0           

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ddaa9fc...0ffa158. Read the comment docs.

@jgerigmeyer jgerigmeyer changed the base branch from master to bug-rem-size June 13, 2020 15:00
Base automatically changed from bug-rem-size to master June 15, 2020 14:40
* master:
  node v6 was already broken so just admit it
  Try to pin deps to work on node6.
  Try to pin deps to work on node6.
@jgerigmeyer
Copy link
Member Author

@jgerigmeyer jgerigmeyer marked this pull request as ready for review July 21, 2020 23:09
@mirisuzanne
Copy link
Member

@jgerigmeyer I've updated all the Sass to use modules - but I can't get the sass examples to compile correctly. Can you take a look?

@mirisuzanne
Copy link
Member

);

tools.$functions: $functions;
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mirisuzanne This seems like an underlying bug in Sassdoc -- I guess it doesn't know that tools.$functions is a variable declaration?

@@ -207,7 +207,7 @@ $demo-noncolors: (
/// meta.get-function('color', $module: 'tools') // function
/// );
///
/// @each $key, $value in $herman {
/// @each $key, $value in utilities.$herman {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@mirisuzanne I'm not sure I caught all of the places where this should be changed, but this is what was breaking the build.

@@ -39,7 +39,6 @@ const sassDocOpts = {
templatePath: path.join(__dirname, 'templates'),
},
sass: {
implementation: 'sass',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  1. Dart Sass is the default
  2. This needs to be an actual instance (e.g. implementation: require('sass')), not a string

@jgerigmeyer
Copy link
Member Author

@mirisuzanne Back to you.

Copy link
Member

@mirisuzanne mirisuzanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@jgerigmeyer
Copy link
Member Author

@mirisuzanne Next step is probably to merge this and do an RC release to test out on a few projects?

@mirisuzanne mirisuzanne merged commit a256194 into master Jan 4, 2021
@mirisuzanne mirisuzanne deleted the drop-node6 branch January 4, 2021 18:21
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.

"@example scss" annotation breaks in projects using Yarn PnP. Do not rely on gulp-specific imagemin.
2 participants