sachinchoolur / lightGallery

A customizable, modular, responsive, lightbox gallery plugin.
https://www.lightgalleryjs.com/
Other
6.53k stars 1.28k forks source link

Sass Deprecation Warning for nesting #1657

Open KPeschke opened 2 months ago

KPeschke commented 2 months ago

Description

Module Warning (from ./node_modules/sass-loader/dist/cjs.js): Deprecation Warning on line 36, column 8 of node_modules/lightgallery/scss/lg-autoplay.scss:36:8: Sass's behavior for declarations that appear after nested rules will be changing to match the behavior specified by CSS in an upcoming version. To keep the existing behavior, move the declaration above the nested rule. To opt into the new behavior, wrap the declaration in & {}.

More info: https://sass-lang.com/d/mixed-decls

36 | content: '\e01d';

Steps to reproduce

... "lightgallery": "^2.7.2", "sass": "^1.78.0", "sass-loader": "^16.0.1", "webpack": "^5.94.0", ...

Environment

stale[bot] commented 1 week ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.