{"library":"webpack-svgstore","type":"library","category":null,"description":"A webpack 5 plugin that combines multiple SVG files into a single SVG sprite sheet using <symbol> elements. Current version 2.1.2 (January 2024) uses svgo for optimization and glob patterns for file matching. Requires Node >= 18 and webpack 5. Ships TypeScript types. Differentiator: simple configuration, built-in SVG sprite loader (svgxhr) for use in webpack bundles, and options for prefix, inline SVG, and viewBox removal. Alternatives like svg-sprite-loader handle SVG injection differently.","language":"javascript","status":"active","version":"2.1.2","tags":["javascript","webpack","webpack-plugin","svg","svgo","svgstore","typescript"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install webpack-svgstore","imports":["const SvgStore = require('webpack-svgstore');","import svgxhr from 'webpack-svgstore/dist/helpers/svgxhr';","import SvgStore from 'webpack-svgstore';"]},{"cmd":"yarn add webpack-svgstore","imports":[]},{"cmd":"pnpm add webpack-svgstore","imports":[]}],"homepage":null,"github":"https://github.com/davidbepa/webpack-svgstore","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-svgstore","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}