Skip to content

3.4.2 has breaking change math.div #1230

@MartinSoderholm

Description

@MartinSoderholm

Upgrading from 3.4.1 to 3.4.2 results in bunch of errors like below during build.

Error: Module build failed (from ../../node_modules/sass-loader/dist/cjs.js):
SassError: Invalid CSS after "...     floor(math": expected expression (e.g. 1px, bold), was ".div($grid-gutter-w"
        on line 369 of ../../node_modules/bootstrap-sass/assets/stylesheets/bootstrap/_variables.scss
        from line 2 of src/AppView/style.scss
>> vbar-padding-horizontal:        floor(math.div($grid-gutter-width, 2)) !defa
   ------------------------------------------^

Using:
node v16.13.2
npm 8.5.2
webpack 5.69.1
sass-loader 12.6.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions