Skip to content

Lexical error on css minimizer #451

@desytech

Description

@desytech

mantine-react-table version

2.0.0-beta.7

react & react-dom versions

18.1.0

Describe the bug and the steps to reproduce it

Using create react app with react scripts v5.0.1 leads to a css lexer problem.

Using unset is not permitted on css calculations see Formal Syntax

Minimal, Reproducible Example - (Optional, but Recommended)

$ react-app-rewired build
Creating an optimized production build...
Compiled with warnings.

static/css/main.ee4a7c60.css from Css Minimizer plugin
postcss-calc: ***/css/main.ee4a7c60.css:8449:3: Lexical error on line 1: Unrecognized text.

  Erroneous area:
1: unset * 1px - 1px
^..^

Screenshots or Videos (Optional)

No response

Do you intend to try to help solve this bug with your own PR?

None

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions