{"library":"webpack-svgstore-plugin","type":"library","category":null,"description":"Webpack plugin that generates SVG sprites (SVG store) from a set of SVG files. Version 4.1.0 is the latest stable release. Use v3.x for Webpack 1.x and v4.x for Webpack 2.x. It integrates svgo for optimization, supports prefixing for icon IDs, and includes an optional built-in AJAX sprite loader. Key differentiator: it uses magic variables like `__svg__` in source files to declare input glob and output filename, which can be confusing for newcomers.","language":"javascript","status":"active","version":"4.1.0","tags":["javascript"],"last_verified":"Sat Apr 25","install":[{"cmd":"npm install webpack-svgstore-plugin","imports":["const SvgStore = require('webpack-svgstore-plugin');","new SvgStore({ svgoOptions: { plugins: [{ removeTitle: true }] } })","new SvgStore({ prefix: 'icon' })"]},{"cmd":"yarn add webpack-svgstore-plugin","imports":[]},{"cmd":"pnpm add webpack-svgstore-plugin","imports":[]}],"homepage":null,"github":"https://github.com/mrsum/webpack-svgstore-plugin","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/webpack-svgstore-plugin","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}