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

Sass warnings from GOVUK Frontend #2418

Closed
joelanman opened this issue Jan 20, 2025 · 1 comment
Closed

Sass warnings from GOVUK Frontend #2418

joelanman opened this issue Jan 20, 2025 · 1 comment

Comments

@joelanman
Copy link
Contributor

Description of the issue

The last version of GOV.UK Frontend deprecated importing govuk/all and displays warnings

Steps to reproduce the issue

Start a new prototype

Actual vs expected behaviour

No warnings expected, get this (plus all the warnings from #2411 )

Warning: Importing using 'govuk/all' is deprecated. Update your import statement to import 'govuk/index'. To silence this warning, update $govuk-suppressed-warnings with key: "import-using-all"
    node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss 51:5   -warning()
    node_modules/govuk-frontend/dist/govuk/all.scss 3:1                   @import
    node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss 11:9   @import
    .tmp/sass/_plugins.scss 5:9                                           @import
    node_modules/govuk-prototype-kit/lib/assets/sass/prototype.scss 5:9   @import
    node_modules/govuk-prototype-kit/lib/assets/sass/unbranded.scss 12:9  root stylesheet

Warning: Importing using 'govuk/all' is deprecated. Update your import statement to import 'govuk/index'. To silence this warning, update $govuk-suppressed-warnings with key: "import-using-all"
    node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss 51:5  -warning()
    node_modules/govuk-frontend/dist/govuk/all.scss 3:1                  @import
    node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss 11:9  @import
    .tmp/sass/_plugins.scss 5:9                                          @import
    node_modules/govuk-prototype-kit/lib/assets/sass/prototype.scss 5:9  root stylesheet

Warning: Importing using 'govuk/all' is deprecated. Update your import statement to import 'govuk/index'. To silence this warning, update $govuk-suppressed-warnings with key: "import-using-all"
    node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss 51:5   -warning()
    node_modules/govuk-frontend/dist/govuk/all.scss 3:1                   @import
    node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss 11:9   @import
    .tmp/sass/_plugins.scss 5:9                                           @import
    node_modules/govuk-prototype-kit/lib/assets/sass/prototype.scss 5:9   @import
    node_modules/govuk-prototype-kit/lib/assets/sass/unbranded.scss 12:9  root stylesheet


Warning: Importing using 'govuk/all' is deprecated. Update your import statement to import 'govuk/index'. To silence this warning, update $govuk-suppressed-warnings with key: "import-using-all"
    node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss 51:5  -warning()
    node_modules/govuk-frontend/dist/govuk/all.scss 3:1                  @import
    node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss 11:9  @import
    .tmp/sass/_plugins.scss 5:9                                          @import
    node_modules/govuk-prototype-kit/lib/assets/sass/prototype.scss 5:9  root stylesheet

Warning: Importing using 'govuk/all' is deprecated. Update your import statement to import 'govuk/index'. To silence this warning, update $govuk-suppressed-warnings with key: "import-using-all"
    node_modules/govuk-frontend/dist/govuk/settings/_warnings.scss 51:5   -warning()
    node_modules/govuk-frontend/dist/govuk/all.scss 3:1                   @import
    node_modules/govuk-frontend/dist/govuk-prototype-kit/init.scss 11:9   @import
    .tmp/sass/_plugins.scss 5:9                                           @import
    node_modules/govuk-prototype-kit/lib/assets/sass/prototype.scss 5:9   @import
    node_modules/govuk-prototype-kit/lib/assets/sass/unbranded.scss 12:9  root stylesheet
@joelanman
Copy link
Contributor Author

fixed in GOV.UK Frontend:

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

No branches or pull requests

1 participant