Skip to content

Error in Css when using clamp #28

@vikktor

Description

@vikktor

Installed product versions

  • Visual Studio: 2022 Community
  • This extension: 2.9.9

Description

Bundling fails if clamp CSS function is used anywhere in css code.

Steps to recreate

  1. Insert (for example) this line in your css: font-size: clamp(1.625rem, 1.3036rem + 1.4286vw, 3rem);
  2. Try to bundle it using this extension

Current behavior

Bundling fails with error:
Error (Bundler & Minifier) Unexpected token, found ' '

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions