Skip to content

Use strings as properties to allow property mangling. #901

@jespertheend

Description

@jespertheend

Right now when minifying scripts, things such as gltf parsing break because the properties have been mangled.
We should use x["foo"] and { "foo": true } syntax to make sure these props don't get mangled.

On top of that we should add a way to write tests that run on minified builds.

Metadata

Metadata

Assignees

Labels

effort: ModerateWill take a good amount of time and experience with the codebase, but feasible.

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions