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
  • #8984
Closed
Open
Issue created May 10, 2020 by Administrator@rootContributor

Production CSS is not minified/obfuscated

Created by: AdityaAnand1

While using global stylesheets with component classname props as usual, building for production leads to the same exact classnames still being used.

My best guess is that there would be significant css bundle size reduction if the (production only) build process were to include any of the popular css minification tools.

https://github.com/css/csso https://github.com/fmarcia/UglifyCSS https://github.com/matthiasmullie/minify

Reproduction steps should be pretty straightforward, include a typical stylesheet into a component and use it, then build and inspect the result in devtools.

Assignee
Assign to
Time tracking