You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Bootstrap is still using @import in its .scss files, which is deprecated in Dart Sass and causes issues in modern build systems like Next.js (especially with strict or future Sass modes).
Steps to Reproduce:
Use Bootstrap via Sass in a Next.js project.
Build the project with strict Sass (or latest versions).
Expected:
Bootstrap should use @use and @forward for modular and future-proof compatibility.
Actual:
Sass throws deprecation warnings or errors depending on config.
Suggested Fix:
Migrate internal Bootstrap SCSS to the modern @use system, as recommended by Sass maintainers
Environment:
Next.js 14+
Dart Sass
Bootstrap version: 5.x.x
The text was updated successfully, but these errors were encountered:
Bootstrap is still using @import in its .scss files, which is deprecated in Dart Sass and causes issues in modern build systems like Next.js (especially with strict or future Sass modes).
Steps to Reproduce:
Expected:
Actual:
Suggested Fix:
Environment:
The text was updated successfully, but these errors were encountered: