-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[lit-next] Minify private lit-element properties, and rename lit-html…
… private props to one underscore (lit#1334) - Mangle all lit-element properties starting with `_` - Change private lit-html property prefixes from `__` to `_` for consistency with lit-element - Includes exclusions for `_value`, `_setValue`, `_$litType$`, and `_$litDirective$` - Pre-seed the terser name cache with random names for `_createElement`, `_endNode`, and `_startNode` since those will be needed by Steve in lit#1315. We can use this pattern to ensure that any private properties we need to access *across packages* will be consistent, including across versions. Also some small typing improvements I noticed: - Add a cast to `UpdatingElement` prototype in lit-element - Replace an `any` cast in lit-html with a `NodePartInternal` cast
- Loading branch information
Showing
6 changed files
with
175 additions
and
138 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.