eleventy-plugin-svg-sprite
eleventy-plugin-svg-sprite copied to clipboard
A high performance Eleventy universal plugin that compiles a directory of SVG files into a single SVG Sprite and adds shortcodes to embed SVG Sprite and SVG content in Eleventy templates.
I have started to test your plugin and was wondering if it would not be better to enable a more global `arguments` instead of `defaultClasses` and `globalClasses` parameters to enable...
"I saw in the code that the 'desc' attribute has a random value for the ID. This means that every time I save a page, all the IDs change, and...
When having multiple svgSprites, only the config options `globalClasses` and `defaultClassess` of the last array element are applied. for example: ``` const svgSprite = require("eleventy-plugin-svg-sprite"); module.exports = function (eleventyConfig) {...
`svg-sprite` 2.0.0 has a dependency on `lodash.trim` 4.5.1 which is subject to a ReDoS vulnerability: https://github.com/advisories/GHSA-29mw-wpgm-hmr9 `svg-sprite` 2.0.3 removes this dependency: https://github.com/svg-sprite/svg-sprite/releases/tag/v2.0.3 The current v2.0.x release is 2.0.4 which also...