Skip to content

Class name change when the file is minified #1118

Closed
@ftgibran

Description

@ftgibran

Version

3.0.0-beta.6

Reproduction link

https://codesandbox.io/s/vnq0v2w8z3

Steps to reproduce

Create any class and print its name by using constructor.name then reproduce it in production mode.

What is expected?

Prints the correct class name.

What is actually happening?

It prints a letter instead of the class name.


Probably it happens because of the file is minified in production mode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions