Skip to content

Original components class name mangling after build #192

Description

@Arif-un

Describe the bug

Declared component style with the class name, but when running the build command, it's changing the original React-Component file

Reproduction

In this sandbox, App.jsx has two classes (container, title), when I run the build command my original react components class names are getting mangled.
I want to keep short class name in production but not in dev.
https://stackblitz.com/edit/stylify-react-vite-o6zemm?file=src/App.jsx
Thanks

Logs

No response

System Info

Live Sandbox provided

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

    @stylify/stylifyTargeting @stylify/stylify package📝documentationImprovements or additions to documentation🔗duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions