Skip to content

Silence Sass deprecation warnings in parcel, vite, and webpack examples#585

Merged
mdo merged 1 commit intomainfrom
main-jd-silence-sass-deprecation-warnings
Apr 7, 2025
Merged

Silence Sass deprecation warnings in parcel, vite, and webpack examples#585
mdo merged 1 commit intomainfrom
main-jd-silence-sass-deprecation-warnings

Conversation

@julien-deramond
Copy link
Copy Markdown
Member

@julien-deramond julien-deramond commented Apr 7, 2025

Following up twbs/bootstrap#41283, this PR introduces several configurations so that Sass deprecation warnings are silenced for the parcel, webpack, and vite examples.

In order to test it, and be closer to the reality, I've bumped the sass package in these 3 sub-projects too.

I've voluntarily not bumped Bootstrap dependency in the various several sub-projects as it should be done separately.

Comment thread vite/vite.config.js
'mixed-decls',
'color-functions',
'global-builtin',
'legacy-js-api',
Copy link
Copy Markdown
Member Author

@julien-deramond julien-deramond Apr 7, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This extra rule has been added here, and not in the Vite guide as they are slightly different. But anyway, folks will be able to adapt depending on the warnings displayed in their consoles. What's been tricky for them was rather to find where and how to configure it.

@julien-deramond julien-deramond force-pushed the main-jd-silence-sass-deprecation-warnings branch from 06771ac to 3ec94ff Compare April 7, 2025 18:45
@julien-deramond julien-deramond requested a review from mdo April 7, 2025 18:46
@mdo mdo merged commit 2393bf3 into main Apr 7, 2025
12 checks passed
@mdo mdo deleted the main-jd-silence-sass-deprecation-warnings branch April 7, 2025 18:53
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

Successfully merging this pull request may close these issues.

2 participants