This might not look like much but it's fixing a long standing bug where selections would break unexpectedly
Left is before, selection becomes directionalLight
Right is after, no change
Previously selections used line+column, in the next version of @trytriplex it uses AST path
Aug 13, 2025 · 1:07 AM UTC
1
1
3
396
AST path is like {exportName}/{elementName}/.../{elementName}.
It's not perfect e.g. there are edge cases where re-ordering elements could break. But it works well for most cases and it doesn't bleed code from Triplex into your code like data-triplex-id.
1
139
