
Security News
OWASP 2025 Top 10 Adds Software Supply Chain Failures, Ranked Top Community Concern
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.
craco-plugin-svg-sprite
Advanced tools
craco-plugin for creatin SVG sprites.
Motivation: How to use SVG sprites in a project.
You have to learn what SVG sprites.
then,Learn how to use SVGO to compress SVG.
Finally, summarize the application in the project
Three package involved:
npm install craco-plugin-svg-sprite --save-dev
... or with Yarn
yarn add craco-plugin-svg-sprite -D
// craco.config.js => plugins
const cracoPluginSvgSprite = require("craco-plugin-svg-sprite");
{
plugin: cracoPluginSvgSprite,
options: {
include: "src", // required
compress: true, // option
svgoConfig: { // option
},
spriteLoaderConfig: { // option
},
svgPrefixName: "icon" // option
},
}
configuration parameter:
| Property | Description | Type | Default | Option |
|---|---|---|---|---|
| include | files to include | string | - | required |
| svgPrefixName | svg file prefix name | string | - | option |
| compress | is a svgo used | boolean | true | option |
| svgoConfig | svgo-loader config | object | - | option |
| spriteLoaderConfig | svg-sprite-loader config | object | - | option |
v1.0.0 (2020-12-18 16:02:45)
publish time 2020-12-18
FAQs
craco-plugin for creating SVG sprites.
The npm package craco-plugin-svg-sprite receives a total of 5 weekly downloads. As such, craco-plugin-svg-sprite popularity was classified as not popular.
We found that craco-plugin-svg-sprite demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
OWASP’s 2025 Top 10 introduces Software Supply Chain Failures as a new category, reflecting rising concern over dependency and build system risks.

Research
/Security News
Socket researchers discovered nine malicious NuGet packages that use time-delayed payloads to crash applications and corrupt industrial control systems.

Security News
Socket CTO Ahmad Nassri discusses why supply chain attacks now target developer machines and what AI means for the future of enterprise security.