Frontmatter
| id | 3133 |
| title | buildThemes: sass.render() is deprecated |
| state | Closed |
| labels | enhancementhelp wantedstale |
| assignees | [] |
| createdAt | Jun 7, 2022, 2:26 PM |
| updatedAt | Sep 15, 2024, 4:35 AM |
| githubUrl | https://github.com/neomjs/neo/issues/3133 |
| author | tobiu |
| commentsCount | 2 |
| parentIssue | null |
| subIssues | [] |
| subIssuesCompleted | 0 |
| subIssuesTotal | 0 |
| blockedBy | [] |
| blocking | [] |
| closedAt | Sep 15, 2024, 4:35 AM |
the new methods are
compile()and for our use casecompileString(): https://sass-lang.com/documentation/js-api/modules#compileStringi did a quick test and unfortunately the API and way of using the new method differ. in detail: passing the data as the 1st param is an easy change, but afterwards the internal import URLs inside .scss files break. me might need to add a custom importFn to handle our use case.
help on this one is appreciated.