question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Be explicit about which Sass compilers we support

See original GitHub issue

What

Document which Sass compilers we expect GOV.UK Frontend to correctly compile with, including minimum versions.

Why

By being explicit about which Sass compilers we support we enable our users to make informed decisions about their build pipeline.

This will also help us when making changes, as we’ll be able to make informed decisions about which features we can safely use. This is especially important given the current landscape and the different features supported by the different compilers (see http://sass-compatibility.github.io for details)

Questions / prompts

  • If we drop support for a compiler, or change the minimum version of a compiler (e.g. so that we can start relying on a newer Sass feature) does that count as a breaking change?
  • Where would users expect to find this information?
  • Is there a way of defining this in the package.json file such that any unmet dependencies are flagged at install time? Or otherwise detecting / flagging this to the user?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
m-greencommented, Feb 19, 2020

Hi @36degrees - can you involve me when you kick this one off please? I should have time to write this - and I’d like to be involved in the discussions about where it would sit.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Live Sass Compiler - @use causes compilation error
I 'm using Live Sass Compiler v3.0.0 in my VS Code and it throws a compilation error whenever I use the @use rule...
Read more >
Dart Sass Command-Line Interface
Dart Sass supports two output styles: ... You can pass --error-css explicitly to enable it even when you're compiling to standard out, or...
Read more >
CSS Variables and SASS - bitcrowd
Both, SASS and CSS support variables, and of course they are not the same: SASS variables get compiled into actual values into final...
Read more >
Languages: Sass - CodeKit
CodeKit supports two Sass compilers: Dart Sass and Libsass. Dart Sass is the official compiler and supports new features first. Libsass is slightly...
Read more >
Introducing Sass Modules - CSS-Tricks
You can still use CSS imports, but they won't be compiled by Sass. Don't worry, there's a migration tool to help you upgrade!...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found