You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After having created a performance issue for the sass package, I learned that the render() and renderSync() methods were deprecated and suffered from performance issues:
constsass=require('sass');constresult=sass.compile(scssFilename);// OR// Note that `compileAsync()` is substantially slower than `compile()`.constresult=awaitsass.compileAsync(scssFilename);
The text was updated successfully, but these errors were encountered:
Hi,
After having created a performance issue for the
sass
package, I learned that therender()
andrenderSync()
methods were deprecated and suffered from performance issues:v1.59
(8 times slower thanv1.58
) sass/dart-sass#1913 (comment)We can also notice it in the comments of the code:
Ideally, we should suggest a way to use
compile()
andcompileAsync()
methods for the following lines:gulp-sass/index.js
Line 145 in c04bb67
gulp-sass/index.js
Line 158 in c04bb67
Example from
sass
:The text was updated successfully, but these errors were encountered: