LearnNewsExamplesServices
Frontmatter
id3133
titlebuildThemes: sass.render() is deprecated
stateClosed
labels
enhancementhelp wantedstale
assignees[]
createdAtJun 7, 2022, 2:26 PM
updatedAtSep 15, 2024, 4:35 AM
githubUrlhttps://github.com/neomjs/neo/issues/3133
authortobiu
commentsCount2
parentIssuenull
subIssues[]
subIssuesCompleted0
subIssuesTotal0
blockedBy[]
blocking[]
closedAtSep 15, 2024, 4:35 AM

buildThemes: sass.render() is deprecated

Closed v8.1.0 enhancementhelp wantedstale
tobiu
tobiu commented on Jun 7, 2022, 2:26 PM

the new methods are compile() and for our use case compileString(): https://sass-lang.com/documentation/js-api/modules#compileString

i 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.

tobiu added the enhancement label on Jun 7, 2022, 2:26 PM
tobiu added the help wanted label on Jun 7, 2022, 2:26 PM