twbs / bootstrap

The most popular HTML, CSS, and JavaScript framework for developing responsive, mobile first projects on the web.
https://getbootstrap.com
MIT License
169.83k stars 78.73k forks source link

missing maps.scss #39598

Closed MichelleDiamond closed 7 months ago

MichelleDiamond commented 7 months ago

Prerequisites

Describe the issue

There is no _maps.scss file in the Sass folder of Source files and npm "../node_modules/bootstrap/scss/maps"; will report an error

Reduced test cases

@import "./node_modules/bootstrap/scss/functions";

@import "./node_modules/bootstrap/scss/functions";
@import "./node_modules/bootstrap/scss/variables";
@import "./node_modules/bootstrap/scss/maps"; // complie error
@import "./node_modules/bootstrap/scss/mixins";
@import "./node_modules/bootstrap/scss/utilities";

$all-colors: map-merge-multiple($blues, $indigos, $purples, $pinks, $reds, $oranges, $yellows, $greens, $teals, $cyans);

$utilities: map-merge(
  $utilities,
  (
    "color": map-merge(
      map-get($utilities, "color"),
      (
        values: map-merge(
          map-get(map-get($utilities, "color"), "values"),
          (
            $all-colors
          ),
        ),
      ),
    ),
  )
);

@import "./node_modules/bootstrap/scss/utilities/api";`

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Chrome

What version of Bootstrap are you using?

5.3.2

MichelleDiamond commented 7 months ago

I reinstalled and see that the maps.scss has been added to the npm package.

louismaximepiton commented 7 months ago

Perfect, have a nice day using Bootstrap!