Skip to content

Tree shaking not work when static method in class was used #3989

@QiuZhiFeng97

Description

@QiuZhiFeng97

Expected Behavior

only have

function test() {
	return 'a';
}

export { test };

Actual Behavior

not only test function but also class

if static method is replaced with instance method(or if static method in class was not used), it works right. Anybody knows why?

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