USWDS Compile 1.0.0 Beta 3
Pre-release
Pre-release
·
145 commits
to main
since this release
What's new in USWDS Compile 1.0.0 Beta 3
Allow compiling on M1 Macs. Updates to a more modern SVG sprite compiler (gulp-svgstore
) to resolve an incompatibility with M1 Macs and ARM-based chips.
Allow custom icons directory. You can now pass an optional directory (paths.src.projectIcons
) whose contents will either add to (the default) or replace the contents of the icon sprite (with sprite.projectIconsOnly = true
).
API updates
Setting | Default | Description |
---|---|---|
paths.src.projectIcons |
"" |
Source location of any additional project icons to include in the icon sprite. (Use only these project icons in the sprite by setting sprite.projectIconsOnly to true .) |
sprite.projectIconsOnly |
false |
Include only the icons in paths.src.projectIcons in the icon sprite. |
Security
package | old | new |
---|---|---|
gulp-svg-sprite |
1.3.7 | REMOVED |
gulp-svgstore |
— | 9.0.0 |
Added uswds
and @uswds/uswds
to dev dependencies for testing.
6 high vulnerabilities
using npm audit