Skip to content

Minifier strips units from 0fr. #93

Description

@lgamache-nmedia

Installed product versions

  • Visual Studio: Microsoft Visual Studio Enterprise 2022 (64-bit)
  • This extension: 1.14.11

Description

The minifier removes the unit "fr" when the value is 0. Wich should not happen, since it breaks animations betwen fractions like 0fr to 1fr.

Steps to recreate

  1. Create scss file with a property with value "0fr"
  2. Compile file to get a minified css

Current behavior

The compiler removes the unit "fr" from the "0fr" value, wich leaves only "0" in the minified version.

Expected behavior

The compiler should leave the "fr" in the value untouched, otherwise some things might break, like animations.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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