Trying to customize Bootstrap by selecting only the necessary components and importing them into a style.scss
file from Bootstrap sass is causing an issue. When I import and compile the 3 required components, I receive a series of Deprecation Warnings.
SCSS:
@import "./bootstrap-4.3.1/scss/functions";
@import "./bootstrap-4.3.1/scss/variables";
@import "./bootstrap-4.3.1/scss/mixins";
First Console Warning:
Deprecation Warning: Using / for division is deprecated and will be removed in Dart Sass 2.0.0.
Recommendation: math.div($spacer, 2)
More info and automated migrator: https://sass-lang.com/d/slash-div
╷
298 │ $headings-margin-bottom: $spacer / 2 !default;
│ ^^^^^^^^^^^
╵
bootstrap-4.3.1\scss\_variables.scss 298:31 @import
style.scss 3:9 root stylesheet
The tool versions being used are:
Bootstrap: 4.3.1
, Sass: 1.33.0 compiled with dart2js 2.13.0
Is there an issue with this version combination or any other problem? How can this be resolved?