Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

USWDS Compile Beta 2 #14

Merged
merged 5 commits into from
Mar 16, 2022
Merged

USWDS Compile Beta 2 #14

merged 5 commits into from
Mar 16, 2022

Conversation

thisisdano
Copy link
Member

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