You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Remove the imports of the settings, helpers and tools layers from files in core and overrides.
Why
As proposed in alphagov/govuk-design-system-architecture#22, we’re making changes to the way that the base layers (settings, tools and helpers) are imported within different parts of GOV.UK Frontend’s Sass, to reduce the time it takes to compile to CSS.
Done when…
Imports of the settings, helpers and tools layers from files in core and overrides have been removed
"Details of breaking change" section below completed to help with writing release notes
Details of breaking change
which users are affected: Anyone that is importing files from the core or overrides layers without first importing base.
the change that’s been made: The files in these layers no longer import 'base' themselves
changes users will have to make: Import 'base' before importing the files in core or overrides
impact of users not making those changes: their Sass will not compile – they will likely see the error "Undefined mixin 'govuk-exports'" or "no mixin named govuk-exports"
The text was updated successfully, but these errors were encountered:
Add deprecation warnings if users import files from the core and overrides layers without first importing the settings, helpers and tools layers.
We'll remove the imports of "base" from files in these layers in 4.0[1], so this will no longer work.
[1]: #1800
Add deprecation warnings if users import files from the core and overrides layers without first importing the settings, helpers and tools layers.
We'll remove the imports of "base" from files in these layers in 4.0[1], so this will no longer work.
[1]: #1800
Add deprecation warnings if users import files from the core and overrides layers without first importing the settings, helpers and tools layers.
We'll remove the imports of "base" from files in these layers in 4.0[1], so this will no longer work.
[1]: #1800
Add deprecation warnings if users import files from the core and overrides layers without first importing the settings, helpers and tools layers.
We'll remove the imports of "base" from files in these layers in 4.0[1], so this will no longer work.
[1]: #1800
What
Remove the imports of the settings, helpers and tools layers from files in core and overrides.
Why
As proposed in alphagov/govuk-design-system-architecture#22, we’re making changes to the way that the base layers (settings, tools and helpers) are imported within different parts of GOV.UK Frontend’s Sass, to reduce the time it takes to compile to CSS.
Done when…
Details of breaking change
The text was updated successfully, but these errors were encountered: