Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@thisisdano
Copy link
Contributor

Improve compile speed. Replaces the sass package with the sass-embedded package to improve compile performance by about 40-50%.

Sass embedded:

This package is an alternative to the sass package. It supports the same JS API as sass and is maintained by the same team, but where the sass package is pure JavaScript, sass-embedded is instead a JavaScript wrapper around a native Dart executable. This means sass-embedded will generally be much faster especially for large Sass compilations, but it can only be installed on the platforms that Dart supports: Windows, Mac OS, and Linux.

Despite being different packages, both sass and sass-embedded are considered "Dart Sass" since they have the same underlying implementation. Since the first stable release of the sass-embedded package, both packages are released at the same time and share the same version number.

https://www.npmjs.com/package/sass-embedded
https://github.com/sass/embedded-host-node

Security

11 vulnerabilities (5 moderate, 6 high) using npm audit

@thisisdano thisisdano merged commit 67e1f8d into main Mar 16, 2022
@thisisdano thisisdano deleted the release-1.0.0-beta.2 branch March 16, 2022 03:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants