Frontmatter
| id | 2371 |
| title | model.Component: enhance the dataVariableRegex |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | Jun 15, 2021, 8:30 PM |
| updatedAt | Jun 15, 2021, 10:21 PM |
| githubUrl | https://github.com/neomjs/neo/issues/2371 |
| author | tobiu |
| commentsCount | 1 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Jun 15, 2021, 10:21 PM |
model.Component: enhance the dataVariableRegex
tobiu assigned to @tobiu on Jun 15, 2021, 8:30 PM

tobiu
Jun 15, 2021, 8:50 PM
it does get more tricky: dist/prod does not only minify method names.
data => DateUtil.convertToyyyymmdd(data.currentDate)
does get transformed into:
e=>s.Z.convertToyyyymmdd(e.currentDate)
tobiu closed this issue on Jun 15, 2021, 10:21 PM
this one worked for template literals containing data variables or 1 letter vars (dist/prod).
however, there is a catch :)
in case we want to support methods including dots, we need more polishing.
new idea: