{"library":"svg-sprite-html-webpack","type":"library","category":null,"description":"Webpack loader and plugin that generates an SVG sprite with <symbol> elements and injects it directly into the HTML output from html-webpack-plugin. Version 2.4.1 supports Webpack v3, v4, and v5 (added by contributors) and html-webpack-plugin v2, v3, and v5. The package is no longer actively maintained by the original author but has community upkeep. Unlike runtime SVG sprite solutions, this avoids extra HTTP requests by embedding the sprite at compile time. SVG files imported in JavaScript or specified via includeFiles are automatically optimized and deduplicated based on content.","language":"javascript","status":"maintenance","version":"2.4.1","tags":["javascript","svg","sprite","svg sprite","webpack","webpack loader","webpack plugin"],"last_verified":"Wed May 27","install":[{"cmd":"npm install svg-sprite-html-webpack","imports":["const SvgSpriteHtmlWebpackPlugin = require('svg-sprite-html-webpack');","use: SvgSpriteHtmlWebpackPlugin.getLoader()","import checkmark from './icons/checkmark.svg';","const HtmlWebpackPlugin = require('html-webpack-plugin');"]},{"cmd":"yarn add svg-sprite-html-webpack","imports":[]},{"cmd":"pnpm add svg-sprite-html-webpack","imports":[]}],"homepage":null,"github":"https://github.com/Epimodev/svg-sprite-html-webpack","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/svg-sprite-html-webpack","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/svg-sprite-html-webpack/compatibility"}}