diff --git a/lib/build.js b/lib/build.js index 7083e6986f..8463b6d690 100644 --- a/lib/build.js +++ b/lib/build.js @@ -141,6 +141,7 @@ function sassVariables (contextPath = '', isLegacyGovukFrontend = false) { // Patch missing 'init.scss' before GOV.UK Frontend v4.4.0 // in plugin versions, but will default to false for internal if (isLegacyGovukFrontend) { + fileContents += '$govuk-assets-path: $govuk-extensions-url-context + "/govuk-frontend/govuk/assets/";\n' fileContents += '$govuk-global-styles: true !default;\n' fileContents += '$govuk-new-link-styles: true !default;\n' }