Skip to content

Commit

Permalink
Clarify deprecation note
Browse files Browse the repository at this point in the history
Help users understand whether this change affects them by tying it to the deprecation warning – if they see the warning, they need to make a change; if they don't, no change is required.
  • Loading branch information
36degrees committed Jun 1, 2020
1 parent 9b73de1 commit 9cc3871
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,9 +70,9 @@ This was added in [pull request #1753: Make back link arrow consistent with brea

#### Importing from the `core` and `overrides` layers without `base`

If you import specific files from the `core` or `overrides` layers, you now need to import `node_modules/govuk-frontend/govuk/base` first.
If you import specific files from the `core` or `overrides` layers, you’ll now see a deprecation warning when compiling Sass if you do not import `node_modules/govuk-frontend/govuk/base` first.

For example:
To fix the warning, import `node_modules/govuk-frontend/govuk/base` first. For example:

```scss
@import "node_modules/govuk-frontend/govuk/base";
Expand Down

0 comments on commit 9cc3871

Please sign in to comment.