Frontmatter
| id | 1970 |
| title | Manually adjust the source maps for the new theming engine |
| state | Closed |
| labels | enhancement |
| assignees | tobiu |
| createdAt | May 6, 2021, 12:33 PM |
| updatedAt | May 6, 2021, 3:49 PM |
| githubUrl | https://github.com/neomjs/neo/issues/1970 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | May 6, 2021, 3:49 PM |
Manually adjust the source maps for the new theming engine
tobiu assigned to @tobiu on May 6, 2021, 12:33 PM
tobiu closed this issue on May 6, 2021, 2:12 PM
tobiu reopened this issue on May 6, 2021, 2:12 PM

tobiu
May 6, 2021, 2:12 PM
ha, almost. the top level styles are correct, the inherited styles however have wrong line numbers.

tobiu
May 6, 2021, 3:49 PM
bloody hell. done!
tobiu closed this issue on May 6, 2021, 3:49 PM
Since we are using
sass.render()not starting from a file, but the data property (file buffer), we do not get the desired output yet.I already changed the buffer so that everything we are adding up front is in 1 line => the line numbers are correct.
However, we do not see the file name inside the dev tools:
It is a little bit tricky, although we do get the file info as well:
stdin can either be at the first or second index and there are mappings based on the index.
looking into this now.