Use strings as properties to allow property mangling. #901
Labels
effort: Moderate
Will take a good amount of time and experience with the codebase, but feasible.
Milestone
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.
The text was updated successfully, but these errors were encountered: