{"_id":"@svg-use/webpack","_rev":"8-b670109da0f1eebeb7f55357d77f0413","name":"@svg-use/webpack","dist-tags":{"latest":"1.1.0"},"versions":{"0.1.0":{"name":"@svg-use/webpack","version":"0.1.0","keywords":["loader","performance","plugin","svg","webpack"],"author":{"url":"https://fotis.xyz","name":"Fotis Papadogeorgopoulos","email":"fotis@fpapado.com"},"license":"MIT","_id":"@svg-use/webpack@0.1.0","maintainers":[{"name":"fpapado","email":"fotis@fpapado.com"}],"homepage":"https://github.com/fpapado/svg-use#readme","bugs":{"url":"https://github.com/fpapado/svg-use/issues"},"dist":{"shasum":"e77bc64c5023b70a98a7c79fc7cad1c96f2da8d9","tarball":"https://registry.npmjs.org/@svg-use/webpack/-/webpack-0.1.0.tgz","fileCount":7,"integrity":"sha512-FHnaEc1Ay0UP0Ac1d/QhL4tfPgzWFOhvmwboJde9QvtRXjKBow4Jj9KEleKtu3MUirsiOnuuy4UrEsaycI7ctQ==","signatures":[{"sig":"MEQCIEseRicfTdcmfJF2/UwUWLdlxFv42wke3+kTyfm+w/tsAiAJNwKjRzkIZPz3X3HCU5/GP9Ode39B2a5Bl1gQ2q63zw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@svg-use%2fwebpack@0.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":50341},"type":"module","_from":"file:svg-use-webpack-0.1.0.tgz","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./client":"./client.d.ts","./package.json":"./package.json"},"scripts":{"dev":"npm-run-all --parallel build:lib:watch test","lint":"npm-run-all \"lint:*\"","test":"vitest","build":"pnpm build:lib","build:lib":"tsc -p tsconfig.build.json","prepublish":"publint && attw --config-path ./.attw.json --pack","check-types":"tsc --noEmit","lint:scripts":"eslint src --report-unused-disable-directives --no-warn-ignored --max-warnings 0","lint:prettier":"pnpm prettier --check .","build:lib:watch":"tsc --watch -p tsconfig.build.json","check-types:watch":"tsc --noEmit --watch"},"_npmUser":{"name":"fpapado","email":"fotis@fpapado.com"},"_resolved":"/tmp/98489c0fb1f86d0c70a8da68230687bc/svg-use-webpack-0.1.0.tgz","_integrity":"sha512-FHnaEc1Ay0UP0Ac1d/QhL4tfPgzWFOhvmwboJde9QvtRXjKBow4Jj9KEleKtu3MUirsiOnuuy4UrEsaycI7ctQ==","repository":{"url":"git+https://github.com/fpapado/svg-use.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.1","description":"Tools and bundler plugins for loading SVG images via use[href], for use in components.","directories":{},"_nodeVersion":"20.16.0","dependencies":{"loader-utils":"^3.3.1","@svg-use/core":"0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"memfs":"^4.8.0","webpack":"5.93.0","@types/node":"20.14.14","@types/webpack":"^5.28.5","@types/loader-utils":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/webpack_0.1.0_1723633816864_0.9572043479348293","host":"s3://npm-registry-packages"}},"0.1.1":{"name":"@svg-use/webpack","version":"0.1.1","keywords":["loader","performance","plugin","svg","webpack"],"author":{"url":"https://fotis.xyz","name":"Fotis Papadogeorgopoulos","email":"fotis@fpapado.com"},"license":"MIT","_id":"@svg-use/webpack@0.1.1","maintainers":[{"name":"fpapado","email":"fotis@fpapado.com"}],"homepage":"https://github.com/fpapado/svg-use#readme","bugs":{"url":"https://github.com/fpapado/svg-use/issues"},"dist":{"shasum":"5d11d0295109631ffb031ae81daaf1f591bbaf99","tarball":"https://registry.npmjs.org/@svg-use/webpack/-/webpack-0.1.1.tgz","fileCount":8,"integrity":"sha512-gqHIzPh3c7KjeJD6WREAth+ykiXuQ/RIvmt73TC9mKSYed6jbWaeCcvXCy++PvWajUwjJDYZptP3ZpEw65Nb+g==","signatures":[{"sig":"MEUCICyCZCtJ0hiYvLTBJWnfGQXN36n3TYiLXKhq61oZzVDEAiEA6bBt+nic09MQUKoDlI0QIPirfMmIGfdKsqccQPfchYo=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@svg-use%2fwebpack@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":50784},"type":"module","_from":"file:svg-use-webpack-0.1.1.tgz","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./client":"./client.d.ts","./package.json":"./package.json"},"scripts":{"dev":"npm-run-all --parallel build:lib:watch test","lint":"npm-run-all \"lint:*\"","test":"vitest","build":"pnpm build:lib","build:lib":"tsc -p tsconfig.build.json","prepublish":"publint && attw --config-path ./.attw.json --pack","check-types":"tsc --noEmit","lint:scripts":"eslint src --report-unused-disable-directives --no-warn-ignored --max-warnings 0","lint:prettier":"pnpm prettier --check .","build:lib:watch":"tsc --watch -p tsconfig.build.json","check-types:watch":"tsc --noEmit --watch"},"_npmUser":{"name":"fpapado","email":"fotis@fpapado.com"},"_resolved":"/tmp/2c7f2debd599caee7dd8861cf8251993/svg-use-webpack-0.1.1.tgz","_integrity":"sha512-gqHIzPh3c7KjeJD6WREAth+ykiXuQ/RIvmt73TC9mKSYed6jbWaeCcvXCy++PvWajUwjJDYZptP3ZpEw65Nb+g==","repository":{"url":"git+https://github.com/fpapado/svg-use.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.1","description":"Tools and bundler plugins for loading SVG images via use[href], for use in components.","directories":{},"_nodeVersion":"20.16.0","dependencies":{"loader-utils":"^3.3.1","@svg-use/core":"0.1.1"},"_hasShrinkwrap":false,"devDependencies":{"memfs":"^4.8.0","webpack":"5.93.0","@types/node":"20.14.14","@types/webpack":"^5.28.5","@types/loader-utils":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/webpack_0.1.1_1723721991123_0.5986175598484136","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@svg-use/webpack","version":"0.2.0","keywords":["loader","performance","plugin","svg","webpack"],"author":{"url":"https://fotis.xyz","name":"Fotis Papadogeorgopoulos","email":"fotis@fpapado.com"},"license":"MIT","_id":"@svg-use/webpack@0.2.0","maintainers":[{"name":"fpapado","email":"fotis@fpapado.com"}],"homepage":"https://github.com/fpapado/svg-use#readme","bugs":{"url":"https://github.com/fpapado/svg-use/issues"},"dist":{"shasum":"098fd89573b75ce6ab2d10c02d9f5b33105d51ae","tarball":"https://registry.npmjs.org/@svg-use/webpack/-/webpack-0.2.0.tgz","fileCount":8,"integrity":"sha512-cx2h8yntJP7qY/3vUl0WH0U5ygpO63ABx9lczOPC0edeQSqa0z7uOciQNYN9BU7ooH00f5RGAItffq99/GpZqw==","signatures":[{"sig":"MEYCIQC5S4nqizJm0VBAg1Gk2uIfglBSmBBy5W4NAo5MQR+GdwIhANwuxuCIMjo9+v+FSs0Pc5vHDBwr00sFRGK318paPOgz","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@svg-use%2fwebpack@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":51910},"type":"module","_from":"file:svg-use-webpack-0.2.0.tgz","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./client":"./client.d.ts","./package.json":"./package.json"},"scripts":{"dev":"npm-run-all --parallel build:lib:watch test","lint":"npm-run-all \"lint:*\"","test":"vitest","build":"pnpm build:lib","build:lib":"tsc -p tsconfig.build.json","prepublish":"publint && attw --config-path ./.attw.json --pack","check-types":"tsc --noEmit","lint:scripts":"eslint src --report-unused-disable-directives --no-warn-ignored --max-warnings 0","lint:prettier":"pnpm prettier --check .","build:lib:watch":"tsc --watch -p tsconfig.build.json","check-types:watch":"tsc --noEmit --watch"},"_npmUser":{"name":"fpapado","email":"fotis@fpapado.com"},"_resolved":"/tmp/ff2954d3617681095f74633ce01c7898/svg-use-webpack-0.2.0.tgz","_integrity":"sha512-cx2h8yntJP7qY/3vUl0WH0U5ygpO63ABx9lczOPC0edeQSqa0z7uOciQNYN9BU7ooH00f5RGAItffq99/GpZqw==","repository":{"url":"git+https://github.com/fpapado/svg-use.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.1","description":"Tools and bundler plugins for loading SVG images via use[href], for use in components.","directories":{},"_nodeVersion":"20.16.0","dependencies":{"loader-utils":"^3.3.1","@svg-use/core":"0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"memfs":"^4.8.0","webpack":"5.93.0","@types/node":"20.14.14","@types/webpack":"^5.28.5","@types/loader-utils":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/webpack_0.2.0_1723792933136_0.4269875556802194","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@svg-use/webpack","version":"0.3.0","keywords":["loader","performance","plugin","svg","webpack"],"author":{"url":"https://fotis.xyz","name":"Fotis Papadogeorgopoulos","email":"fotis@fpapado.com"},"license":"MIT","_id":"@svg-use/webpack@0.3.0","maintainers":[{"name":"fpapado","email":"fotis@fpapado.com"}],"homepage":"https://github.com/fpapado/svg-use#readme","bugs":{"url":"https://github.com/fpapado/svg-use/issues"},"dist":{"shasum":"cd64379cf74e563c3c950f9f11c09d865e63f314","tarball":"https://registry.npmjs.org/@svg-use/webpack/-/webpack-0.3.0.tgz","fileCount":8,"integrity":"sha512-tm30WtTFesXV6sPdSnBQdwqVcVeYRLhWVWGuFMHIpL4znNz5lE9SsauOt8GpOqAXgIiOnFv3XNpPDvjQkiLXuQ==","signatures":[{"sig":"MEQCIDs7ox4483ppYEMp1KGCOYXGJ/h8wbdew/QOI0Tq8zUSAiAgcP9S4qqqb5C+zlS0BGEmT69SPXFWZ18tjzzNA9h2Uw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@svg-use%2fwebpack@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":53868},"type":"module","_from":"file:svg-use-webpack-0.3.0.tgz","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./client":"./client.d.ts","./package.json":"./package.json"},"scripts":{"dev":"npm-run-all --parallel build:lib:watch test","lint":"npm-run-all \"lint:*\"","test":"vitest","build":"pnpm build:lib","build:lib":"tsc -p tsconfig.build.json","check-types":"tsc --noEmit","lint:scripts":"eslint src --report-unused-disable-directives --no-warn-ignored --max-warnings 0","lint:prettier":"pnpm prettier --check .","build:lib:watch":"tsc --watch -p tsconfig.build.json","check-types:watch":"tsc --noEmit --watch"},"_npmUser":{"name":"fpapado","email":"fotis@fpapado.com"},"_resolved":"/tmp/69f59903a73f66e949a58de5cb6fa361/svg-use-webpack-0.3.0.tgz","_integrity":"sha512-tm30WtTFesXV6sPdSnBQdwqVcVeYRLhWVWGuFMHIpL4znNz5lE9SsauOt8GpOqAXgIiOnFv3XNpPDvjQkiLXuQ==","repository":{"url":"git+https://github.com/fpapado/svg-use.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.1","description":"Tools and bundler plugins for loading SVG images via use[href], for use in components.","directories":{},"_nodeVersion":"20.16.0","dependencies":{"loader-utils":"^3.3.1","@svg-use/core":"^0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"memfs":"^4.8.0","webpack":"5.93.0","@types/node":"20.14.14","@types/webpack":"^5.28.5","@types/loader-utils":"2.0.6"},"peerDependencies":{"@svg-use/react":"^0.3.0"},"peerDependenciesMeta":{"@svg-use/react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/webpack_0.3.0_1724050903633_0.6058681193436708","host":"s3://npm-registry-packages"}},"0.3.1":{"name":"@svg-use/webpack","version":"0.3.1","keywords":["loader","performance","plugin","svg","webpack"],"author":{"url":"https://fotis.xyz","name":"Fotis Papadogeorgopoulos","email":"fotis@fpapado.com"},"license":"MIT","_id":"@svg-use/webpack@0.3.1","maintainers":[{"name":"fpapado","email":"fotis@fpapado.com"}],"homepage":"https://github.com/fpapado/svg-use#readme","bugs":{"url":"https://github.com/fpapado/svg-use/issues"},"dist":{"shasum":"268dda7e14a4c2699564a69dbd280d309b49f667","tarball":"https://registry.npmjs.org/@svg-use/webpack/-/webpack-0.3.1.tgz","fileCount":7,"integrity":"sha512-FXsBV0G0dEivPRQABRMHKljNqusjsD/H8AwKEFWmlc6KAXOHMBPZK3gp3abMtUjj8g/lEz5y/CnrkHjZODMoJg==","signatures":[{"sig":"MEUCIFL7hraR0NsHISzWIui55O9lS3QZcegA/LL2VPLFzLdeAiEAoeOwiwvI5yzuuTyvvL/Sw95QQQ4OW62uewnqaO2c/do=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@svg-use%2fwebpack@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":11806},"type":"module","_from":"file:svg-use-webpack-0.3.1.tgz","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./client":"./client.d.ts","./package.json":"./package.json"},"scripts":{"dev":"npm-run-all --parallel build:lib:watch test","lint":"npm-run-all \"lint:*\"","test":"vitest","build":"pnpm build:lib","build:lib":"tsc -p tsconfig.build.json","check-types":"tsc --noEmit","lint:scripts":"eslint src --report-unused-disable-directives --no-warn-ignored --max-warnings 0","lint:prettier":"pnpm prettier --check .","build:lib:watch":"tsc --watch -p tsconfig.build.json","check-types:watch":"tsc --noEmit --watch"},"_npmUser":{"name":"fpapado","email":"fotis@fpapado.com"},"_resolved":"/tmp/f437a7541b266b51d1492ee2d54b8fd1/svg-use-webpack-0.3.1.tgz","_integrity":"sha512-FXsBV0G0dEivPRQABRMHKljNqusjsD/H8AwKEFWmlc6KAXOHMBPZK3gp3abMtUjj8g/lEz5y/CnrkHjZODMoJg==","repository":{"url":"git+https://github.com/fpapado/svg-use.git","type":"git","directory":"packages/core"},"_npmVersion":"10.8.1","description":"Tools and bundler plugins for loading SVG images via use[href], for use in components.","directories":{},"_nodeVersion":"20.16.0","dependencies":{"loader-utils":"^3.3.1","@svg-use/core":"^0.4.0","@svg-use/react":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"memfs":"^4.8.0","webpack":"5.94.0","@types/node":"20.16.1","@types/webpack":"^5.28.5","@types/loader-utils":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/webpack_0.3.1_1724782744033_0.5269388265953241","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@svg-use/webpack","version":"0.4.0","keywords":["loader","performance","plugin","svg","webpack"],"author":{"url":"https://fotis.xyz","name":"Fotis Papadogeorgopoulos","email":"fotis@fpapado.com"},"license":"MIT","_id":"@svg-use/webpack@0.4.0","maintainers":[{"name":"fpapado","email":"fotis@fpapado.com"}],"homepage":"https://github.com/fpapado/svg-use#readme","bugs":{"url":"https://github.com/fpapado/svg-use/issues"},"dist":{"shasum":"630507947710b076ef2a9b836859c08dfaaa996e","tarball":"https://registry.npmjs.org/@svg-use/webpack/-/webpack-0.4.0.tgz","fileCount":7,"integrity":"sha512-yF7uPBuwEH5x1hYsycwH3NP7N8SZM2Idf23T+/JaLAF5vW99aW+euHLZQmtPC748IV/EG11w8W/C308VMOKovg==","signatures":[{"sig":"MEYCIQDYv/3/E44X+VmfKHsKjkDTAhUCPKt1VA+Wq1OYLjWwbwIhAJ+YipXN3ORNKFhGOYOqVf03s3EvCUgpL1ozTCzYB/Bv","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@svg-use%2fwebpack@0.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12092},"type":"module","_from":"file:svg-use-webpack-0.4.0.tgz","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./client":"./client.d.ts","./package.json":"./package.json"},"scripts":{"dev":"npm-run-all --parallel build:lib:watch test","lint":"npm-run-all \"lint:*\"","test":"vitest","build":"pnpm build:lib","build:lib":"tsc -p tsconfig.build.json --noCheck","check-types":"tsc --noEmit","lint:scripts":"eslint src --report-unused-disable-directives --no-warn-ignored --max-warnings 0","lint:prettier":"pnpm prettier --check .","build:lib:watch":"tsc --watch -p tsconfig.build.json","check-types:watch":"tsc --noEmit --watch"},"_npmUser":{"name":"fpapado","email":"fotis@fpapado.com"},"_resolved":"/tmp/5b01aba3fa5beee6184309e593256fd0/svg-use-webpack-0.4.0.tgz","_integrity":"sha512-yF7uPBuwEH5x1hYsycwH3NP7N8SZM2Idf23T+/JaLAF5vW99aW+euHLZQmtPC748IV/EG11w8W/C308VMOKovg==","repository":{"url":"git+https://github.com/fpapado/svg-use.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.2","description":"Tools and bundler plugins for loading SVG images via use[href], for use in components.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"loader-utils":"^3.3.1","@svg-use/core":"^0.5.0","@svg-use/react":"^0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"memfs":"4.17.0","webpack":"5.97.1","@types/node":"22.12.0","@types/webpack":"5.28.5","@types/loader-utils":"2.0.6"},"_npmOperationalInternal":{"tmp":"tmp/webpack_0.4.0_1743245456809_0.23204142580271903","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@svg-use/webpack","version":"1.0.0","keywords":["loader","performance","plugin","svg","webpack"],"author":{"url":"https://fotis.xyz","name":"Fotis Papadogeorgopoulos","email":"fotis@fpapado.com"},"license":"MIT","_id":"@svg-use/webpack@1.0.0","maintainers":[{"name":"fpapado","email":"fotis@fpapado.com"}],"homepage":"https://github.com/fpapado/svg-use#readme","bugs":{"url":"https://github.com/fpapado/svg-use/issues"},"dist":{"shasum":"82b37ab164e33c53ef43fe80c0a1a7ce4223ff28","tarball":"https://registry.npmjs.org/@svg-use/webpack/-/webpack-1.0.0.tgz","fileCount":7,"integrity":"sha512-RzZ6l8hcP6RZLcLN6tDTXcthSWCHG/J3DmqeZpgE1ulGKun1f9T39wd4atZD+AxKdsxYICfQsr69BMXp9IwQXw==","signatures":[{"sig":"MEQCICC4U6MicprH+cRSvvLTvQG3boQT3w6EF3hOvmgfbrXVAiATL5s4aJvbLovO8w2Y1Up+U4FeSby8tGqnJpFBI0bAXQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@svg-use%2fwebpack@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":12344},"type":"module","_from":"file:svg-use-webpack-1.0.0.tgz","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./client":"./client.d.ts","./package.json":"./package.json"},"scripts":{"dev":"npm-run-all --parallel build:lib:watch test","lint":"npm-run-all \"lint:*\"","test":"vitest","build":"pnpm build:lib","build:lib":"tsc -p tsconfig.build.json --noCheck","check-types":"tsc --noEmit","lint:scripts":"eslint src --report-unused-disable-directives --no-warn-ignored --max-warnings 0","lint:prettier":"pnpm prettier --check .","build:lib:watch":"tsc --watch -p tsconfig.build.json","check-types:watch":"tsc --noEmit --watch"},"_npmUser":{"name":"fpapado","email":"fotis@fpapado.com"},"_resolved":"/tmp/753a1801cdf5a45cd020718b7c5a2d34/svg-use-webpack-1.0.0.tgz","_integrity":"sha512-RzZ6l8hcP6RZLcLN6tDTXcthSWCHG/J3DmqeZpgE1ulGKun1f9T39wd4atZD+AxKdsxYICfQsr69BMXp9IwQXw==","repository":{"url":"git+https://github.com/fpapado/svg-use.git","type":"git","directory":"packages/core"},"_npmVersion":"10.9.2","description":"Tools and bundler plugins for loading SVG images via use[href], for use in components.","directories":{},"_nodeVersion":"22.14.0","dependencies":{"loader-utils":"^3.3.1","@svg-use/core":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"memfs":"4.17.0","webpack":"5.98.0","@types/node":"22.13.14","@types/webpack":"5.28.5","@types/loader-utils":"2.0.6"},"peerDependencies":{"@svg-use/react":"^1.0.0"},"peerDependenciesMeta":{"@svg-use/react":{"optional":true}},"_npmOperationalInternal":{"tmp":"tmp/webpack_1.0.0_1743266222169_0.7782719640462745","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@svg-use/webpack","version":"1.1.0","description":"Tools and bundler plugins for loading SVG images via use[href], for use in components.","license":"MIT","author":{"name":"Fotis Papadogeorgopoulos","email":"fotis@fpapado.com","url":"https://fotis.xyz"},"repository":{"type":"git","url":"git+https://github.com/fpapado/svg-use.git","directory":"packages/core"},"bugs":{"url":"https://github.com/fpapado/svg-use/issues"},"type":"module","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"default":{"types":"./dist/index.d.ts","default":"./dist/index.js"}},"./package.json":"./package.json","./client":"./client.d.ts"},"dependencies":{"loader-utils":"^3.3.1","@svg-use/core":"^1.0.0"},"peerDependencies":{"webpack":"^5","@svg-use/react":"^1.1.0"},"peerDependenciesMeta":{"@svg-use/react":{"optional":true}},"devDependencies":{"@types/loader-utils":"2.0.6","@types/node":"22.13.14","@types/webpack":"5.28.5","memfs":"4.17.0","webpack":"5.98.0"},"keywords":["loader","performance","plugin","svg","webpack"],"scripts":{"build":"pnpm build:lib","build:lib":"tsc -p tsconfig.build.json --noCheck","build:lib:watch":"tsc --watch -p tsconfig.build.json","check-types":"tsc --noEmit","check-types:watch":"tsc --noEmit --watch","dev":"npm-run-all --parallel build:lib:watch test","lint":"npm-run-all \"lint:*\"","lint:prettier":"pnpm prettier --check .","lint:scripts":"eslint src --report-unused-disable-directives --no-warn-ignored --max-warnings 0","test":"vitest"},"_id":"@svg-use/webpack@1.1.0","homepage":"https://github.com/fpapado/svg-use#readme","_integrity":"sha512-QDQBKY8Bbbr3/MnDvPRK8IZuo7rZt9oCTNUYA2SnKi1thVl1l25TK+iMI8P+foQVehTPSE8/LXO4P/ikMudmRQ==","_resolved":"/tmp/aab895d43b89f0b474cf84b49ec4486a/svg-use-webpack-1.1.0.tgz","_from":"file:svg-use-webpack-1.1.0.tgz","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-QDQBKY8Bbbr3/MnDvPRK8IZuo7rZt9oCTNUYA2SnKi1thVl1l25TK+iMI8P+foQVehTPSE8/LXO4P/ikMudmRQ==","shasum":"28dcb43ddaa569a265819affc31468bb889a96c0","tarball":"https://registry.npmjs.org/@svg-use/webpack/-/webpack-1.1.0.tgz","fileCount":7,"unpackedSize":12365,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@svg-use%2fwebpack@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIGHCY3Dl9QK+vbxIHGJ44Zb45wCRfARrjbSQToa8LtBwAiA7qNl7ZqDMBarjRwgtfSD9HCfS6lqUKIFLRzAuDb0Bkg=="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:a3db5c45-d0c2-48b2-8add-b707246880ac"}},"directories":{},"maintainers":[{"name":"fpapado","email":"fotis@fpapado.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/webpack_1.1.0_1766391742381_0.6563270275749684"},"_hasShrinkwrap":false}},"time":{"created":"2024-08-14T11:10:16.707Z","modified":"2025-12-22T08:22:22.865Z","0.1.0":"2024-08-14T11:10:17.060Z","0.1.1":"2024-08-15T11:39:51.312Z","0.2.0":"2024-08-16T07:22:13.294Z","0.3.0":"2024-08-19T07:01:43.763Z","0.3.1":"2024-08-27T18:19:04.220Z","0.4.0":"2025-03-29T10:50:56.996Z","1.0.0":"2025-03-29T16:37:02.389Z","1.1.0":"2025-12-22T08:22:22.504Z"},"bugs":{"url":"https://github.com/fpapado/svg-use/issues"},"author":{"name":"Fotis Papadogeorgopoulos","email":"fotis@fpapado.com","url":"https://fotis.xyz"},"license":"MIT","homepage":"https://github.com/fpapado/svg-use#readme","keywords":["loader","performance","plugin","svg","webpack"],"repository":{"type":"git","url":"git+https://github.com/fpapado/svg-use.git","directory":"packages/core"},"description":"Tools and bundler plugins for loading SVG images via use[href], for use in components.","maintainers":[{"name":"fpapado","email":"fotis@fpapado.com"}],"readme":"# `@svg-use/webpack`\n\nA webpack loader, for using SVG images via `use[href]` references. A thin\nwrapper around [@svg-use/core](../core/README.md).\n\n## Quick start\n\nFirst, install the plugin, and the default React wrapper:\n\n```shell\npnpm add --save-dev @svg-use/webpack\npnpm add @svg-use/react\n```\n\n### Configure webpack\n\nIn your webpack config file (typically `webpack.config.js`):\n\n```ts\n{\n  module: {\n    rules: [\n      {\n        // Match assets such as `arrow.svg?svgUse`, making them compatible with\n        // `svg > use[href]`. Emit a transformed SVG asset, and return a JS\n        // module with all the relevant information.\n        test: /\\.svg$/i,\n        resourceQuery: /svgUse/i,\n        oneOf: [\n          {\n            // Assets without a theme, such as country flags. Referenced as\n            // `icon.svg?svgUse&noTheme`\n            //\n            // Note: Instead of this rule, you could decide to load these SVGs\n            // as 'asset/resource', in order to use their URL string in img[src]\n            test: /\\.svg$/i,\n            resourceQuery: /noTheme/i,\n            type: 'javascript/auto',\n            use: [\n              {\n                loader: '@svg-use/webpack',\n                options: {\n                  getThemeSubstitutions: null, // no theme for these ones\n                  // Customise to your heart's content\n                  svgAssetFilename: 'svgAssets/[name]-[contenthash].[ext]',\n                },\n              },\n            ],\n          },\n          {\n            type: 'javascript/auto',\n            use: [\n              {\n                loader: '@svg-use/webpack',\n                options: {\n                  // Customise to your heart's content\n                  svgAssetFilename: 'svgAssets/[name]-[contenthash].[ext]',\n                },\n              },\n            ],\n          },\n        ],\n      },\n    ];\n  }\n}\n```\n\n### Optional: Configure TypeScript\n\nIf you are using TypeScript, you can get types for the default config by adding\nthe following in a `.d.ts` file in your project. For example, you can include\nthis in `src/client.d.ts`, or any other applicable place.\n\n```ts\n/// <reference types=\"@svg-use/webpack/client\" />\n```\n\n#### Overriding default types\n\nIf you wish to override the default types, add a separate `.d.ts` file with your\ntypes. Then, reference that file in `client.d.ts`, prior to the built-in types\n\nFor example, suppose you have changed the signature of the factory function.\nSpecify your own definitions, such as `svg-use-overrides.d.ts`:\n\n```ts\ndeclare module '*.svg' {\n  export const Component: ReturnType<\n    typeof import('./path/to/my/factory').myFactoryName\n  >;\n}\n```\n\nIn `client.d.ts`:\n\n```ts\n/// <reference types=\"./svg-use-overrides.d.ts\" />\n/// <reference types=\"@svg-use/webpack/client\" />\n```\n\n### Use it in your components\n\n```tsx\nimport { Component as Arrow } from './arrow.svg?svgUse';\nimport { Component as ArrowNoTheme } from './arrow.svg?svgUse&noTheme';\n\nconst MyComponent = () => (\n  <div>\n    <Arrow color=\"currentColor\" />\n    <ArrowNoTheme />\n  </div>\n);\n```\n\nYou can also create your own SVG `use[href]` wrappers, using the other named\nexports. This is how the default Component factory works under the hood:\n\n```tsx\nimport { url, id } from './arrow.svg?svgUse';\nimport { createThemedExternalSvg } from '@svg-use/react';\n\nexport const Arrow = createThemedExternalSvg({ url, id });\n```\n\n## Worked example\n\n[Consult examples/webpack-react for a worked example.](/examples/webpack-react/)\nYou can use this as a playground for understanding the transformations, as well\nas the different moving parts, isolated from your own application's\nconfiguration.\n\n## Options\n\n### svgAssetFilename?\n\n> `optional` **svgAssetFilename**: `string`\n\nDefault: `[name]-[contenthash].[ext]`\n\nThe output filename for the transformed SVG asset. Often useful if you are\nplacing your assets under a specific path, for example to facilitate caching.\n\nUses the same syntax/replacements as\n[webpack's native `assetModuleFilename`](https://webpack.js.org/configuration/output/#outputassetmodulefilename).\n\n### getSvgIdAttribute?\n\n> `optional` **getSvgIdAttribute**:\n> `(info: {filename?: string; existingId?: string;}) => string`;\n\nSpecifies an id for the referenced `<svg>`, set as the `id` attribute on the\nroot. An id is required in order for use[href] to work. A default is provided if\nthis is not defined.\n\n### Options shared with `@svg-use/core`\n\n- [`getThemeSubstitutions`](/packages/core/api-docs/type-aliases/TransformOptions.md#getthemesubstitutions)\n- [`componentFactory`](/packages/core/api-docs/interfaces/ModuleFactoryOptions.md#componentfactory)\n","readmeFilename":"README.md"}