Skip to content

Percentage opacities in CSS files will compile to "1%" in a production build #9588

Open
@bvaughn

Description

@bvaughn

Originally reported by @mruiz42: facebook/react#19747

Recap of the problem, courtesy of @eps1lon:

What a frustrating bug. It originates in react-scripts (reported in #7980). It seems like the underlying fix wasn't propagated. If you go further down you find NMFR/optimize-css-assets-webpack-plugin#118 and cssnano/cssnano#881.

I'd suggest tracking down which package didn't publish the fix by upgrading their relevant dependencies.

Maybe @gaearon can move this issue to create-react-app. Otherwise we should file a new bug report with create-react-app and close it here.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions