Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Issues
  • #9588
Closed
Open
Issue created Sep 03, 2020 by Administrator@rootContributor

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

Created by: bvaughn

Originally reported by @mruiz42: https://github.com/facebook/react/issues/19747

  • Source code: https://codesandbox.io/s/trusting-glitter-0icl7
  • Deployed sandbox: https://csb-0icl7.netlify.app/

Recap of the problem, courtesy of @eps1lon:

What a frustrating bug. It originates in react-scripts (reported in https://github.com/facebook/create-react-app/issues/7980). It seems like the underlying fix wasn't propagated. If you go further down you find https://github.com/NMFR/optimize-css-assets-webpack-plugin/issues/118 and https://github.com/cssnano/cssnano/pull/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.

Assignee
Assign to
Time tracking