Skip to content

Production CSS is not minified/obfuscated #8984

Closed
@Aditya94A

Description

@Aditya94A

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.

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