Skip to content

JS properties named '_xyz' are broken by minification. #194

@mikelehen

Description

@mikelehen

If our code defines a property named _xyz, e.g.:

public get _databaseId(): DatabaseId {
  return this._config.databaseId;
}

Then usages of the property get minified in our build, but the actual property does not, leading to runtime errors.

I had to work around this (see #197) to fix a customer-reported bug in the minified build.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions