{"_id":"@camol/vite-plugin-react-svg","_rev":"5-b9b9d96a9782323be78f7364e91ce1e1","name":"@camol/vite-plugin-react-svg","dist-tags":{"latest":"0.0.5"},"versions":{"0.0.1":{"name":"@camol/vite-plugin-react-svg","version":"0.0.1","description":"## Usage ```javascript import svgPlugin from \"vite-plugin-react-svg\";","main":"lib/index.js","module":"src/index.js","jsnext:module":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/kanweiwei/vite-plugin-react-svg.git"},"keywords":["vite"],"author":{"name":"kanweiwei"},"license":"MIT","bugs":{"url":"https://github.com/kanweiwei/vite-plugin-react-svg/issues"},"homepage":"https://github.com/kanweiwei/vite-plugin-react-svg#readme","dependencies":{"@babel/core":"7.13.15","@babel/preset-react":"7.13.13","@svgr/core":"5.5.0"},"devDependencies":{"gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","typescript":"^4.4.3"},"gitHead":"769a8c51ce383927070c04f09ae2ebe5612b0a12","_id":"@camol/vite-plugin-react-svg@0.0.1","_nodeVersion":"14.17.6","_npmVersion":"6.14.15","dist":{"integrity":"sha512-I/rga9t65fcVLtpOtotkDENWfiUewVFpDT90rISoN98cGHjaamLkamyN8ylG1wLNGML72VjgvAtAvaJ4O/oRiQ==","shasum":"b73dbcc098365487948055395f7e3698c4e207b0","tarball":"https://registry.npmjs.org/@camol/vite-plugin-react-svg/-/vite-plugin-react-svg-0.0.1.tgz","fileCount":6,"unpackedSize":6157,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCIbG8W8XOMtZzyczq5USzm0gMPVMN9ENLoH8YB5e5dBAIhAK++MavGfZzkiqUTstvdytOzzcEOKH6ZvXIs+vbZRCVz"}]},"_npmUser":{"name":"camol","email":"kwwnjujlc@sina.com"},"directories":{},"maintainers":[{"name":"camol","email":"kwwnjujlc@sina.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-react-svg_0.0.1_1634698941927_0.7209028501772365"},"_hasShrinkwrap":false},"0.0.2":{"name":"@camol/vite-plugin-react-svg","version":"0.0.2","description":"## Usage ```javascript import svgPlugin from \"vite-plugin-react-svg\";","main":"lib/index.js","module":"src/index.js","jsnext:module":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/kanweiwei/vite-plugin-react-svg.git"},"keywords":["vite"],"author":{"name":"kanweiwei"},"license":"MIT","bugs":{"url":"https://github.com/kanweiwei/vite-plugin-react-svg/issues"},"homepage":"https://github.com/kanweiwei/vite-plugin-react-svg#readme","dependencies":{"@babel/core":"7.13.15","@babel/preset-react":"7.13.13","@svgr/core":"5.5.0"},"devDependencies":{"gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","typescript":"^4.4.3"},"gitHead":"5f17ded0cf356b511013df029ee6d844a3794288","_id":"@camol/vite-plugin-react-svg@0.0.2","_nodeVersion":"12.22.8","_npmVersion":"6.14.15","dist":{"integrity":"sha512-j1db3919MPTqIZnZcnYfIuZK6H4OL2Xjfs1o6DVp2g8kOHJA7S4BXdYTVpiaFBAfiFUPEcT+mVGufTefgWjBlw==","shasum":"470ebcba493f88bbdc02a4a9ce8c5fd071044650","tarball":"https://registry.npmjs.org/@camol/vite-plugin-react-svg/-/vite-plugin-react-svg-0.0.2.tgz","fileCount":6,"unpackedSize":6322,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyVzsCRA9TVsSAnZWagAAyjYP/0DtCsT+JfYoKX54Ni8Q\ng8EuBpUBLufA65RPiUD91ltNsqUo982CM9hyhXStwJj2jVmkQiS446VwPYRG\nvFuGwCHxSHPV2btWkT8xlb/FPKKjtY46qeqLCG50ZDKi/J1MGm3dGi5MvXRm\ndEUy9k+bR0+tAwny1KZvbfkhNkoMLLenEgRzEZcPPqbaOJ4S6oc/AIRmSpjQ\n9q9+LAesjThLpteATeZlW1SXAm5rTuMHLjrfxOcI9CmBGjC7Nw0ctSBhKz5y\nGk2s5R/Z6QwwwC8RX40ytg033zmRaaBmHLJrxmS8HELZHlYuFo80IernGjED\n5e4M8WnQf9pFPZKas+GymF6Ien/DXgf52nySwnniQyqqkCSzopD3fWvuqWx4\n8wBICU4r5cQMZ3Jsi+mq6LgMaQ7yb7UiEwAnuImNLV8vrXlQUG6vLs1aYjOf\n2eUt5UmJ3d/zO2rc/hEOwuv2xrra8Lcx4QdIIpFj5LS8aywIUjlWkpNt/tq2\npowC9I/WjI46rtJSCW7+WPKx4R0VfVGDn5pCs+Eo8H2IFpVXiMDeRL4+K9dh\nvuj4BAGiQslOP6TTYStl+2Cj6OzdwYrZJPxmxfZ1TMcdMDv3qNYpIgs+UnTs\n7PTwHvZJEdec2WFOm7vV0WwWbtEMU2xluh9h6V/YCvhdP6KcVQdLWopw5GCD\n3Zo5\r\n=8T1P\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE5fUMJ88gobz+z10iGjSpxlUOIHD+SZLYYvTcPHBY2wAiEA2JKO+3cIh3uSKPUaKDHEFcdKchDSHnmwWRl7u1j7+j8="}]},"_npmUser":{"name":"camol","email":"kwwnjujlc@sina.com"},"directories":{},"maintainers":[{"name":"camol","email":"kwwnjujlc@sina.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-react-svg_0.0.2_1640586475994_0.811786029443538"},"_hasShrinkwrap":false},"0.0.3":{"name":"@camol/vite-plugin-react-svg","version":"0.0.3","description":"## Usage ```javascript import svgPlugin from \"vite-plugin-react-svg\";","main":"lib/index.js","module":"src/index.js","jsnext:module":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/kanweiwei/vite-plugin-react-svg.git"},"keywords":["vite"],"author":{"name":"kanweiwei"},"license":"MIT","bugs":{"url":"https://github.com/kanweiwei/vite-plugin-react-svg/issues"},"homepage":"https://github.com/kanweiwei/vite-plugin-react-svg#readme","dependencies":{},"devDependencies":{"@babel/core":"^7.16.5","@babel/preset-react":"^7.16.5","@svgr/babel-preset":"^6.1.0","@svgr/core":"^6.1.2","@svgr/plugin-jsx":"^6.1.2","@svgr/plugin-svgo":"^6.1.2","gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","prettier":"^2.5.1","typescript":"^4.4.3"},"gitHead":"fbf4d78cc1af7419aa543f12b9adb8e0c9bda4f3","_id":"@camol/vite-plugin-react-svg@0.0.3","_nodeVersion":"12.22.8","_npmVersion":"6.14.15","dist":{"integrity":"sha512-IwqgH7nCepSRYODMeBg9XzethoOe2wMWXtmXqNkavmkCtLoQs6I4iQ+qGo6Ritq0mf3q0WRzmqRCX4iQPL1L+w==","shasum":"3edccf255c9dbf3a3548855018e06f86c957a52f","tarball":"https://registry.npmjs.org/@camol/vite-plugin-react-svg/-/vite-plugin-react-svg-0.0.3.tgz","fileCount":6,"unpackedSize":6069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhyrcuCRA9TVsSAnZWagAAF5gP/RQ+d1MSL/HAqUovpImK\n8y3tmzalv+X75F9ZMTs7T7WqJLsJ30AN6s/aGuhrAclq948IdDv9LTTuk2iW\nIaKbvBxNkg2uI6g3qdrgIPUKi+6oGGW9H8x8iFtOIqwi1rddf5Tkszs2aHlo\nDz6t1DtNvEFHsWI1ywhGcag9NTTrlndJNfj6oTYD8IoihLNMBh2TCEbWqlDT\nZY0/1gp2BK3KZmTONe5aTSqa3JPd/DBh8I9YC0W7JUXSMmjh1c/Wv7lg0Nwc\nNh/E+wrYPF0QGam8pAyPTYzoAS1Ep07fPHrP+ChL+d66c+1LPDhcWkGP7+nh\nQyq9tT2o2KkOpvf1cBR9sMqgZL84miGJld+uLrSPtD1x43Akqs96XfDYeY8o\nK6B71KQLtag58hj+GPrFQOzffzPxGurCrr18+wW624CJNZsvY5Yr+SafCHms\ngaruI9mmOL5ECmaclrt9R1vDrOFXvkz/ybP6/e0hSquRFw3+SIpcEjHH15m8\nVGDb56vmPrl26rlfa+swUdeEiX6VkBS7EohU7mwl8F9/jijHwcGet0ntELrg\nFtKYuL2YR7rn/1U2mHwKxcBDBaaTHEEoUAxiKZJYIZ+Vx8dYPqX3UOzTFI1l\n0a9N0pse6Z+QOgKvg1Vxst4CBy+K7gpha1eEaOHx2La3x//grJkPxT/FCsRj\nuRN8\r\n=0aWx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBN8ZNco2a+Gtuo4QoDaOslZmRs91SnSWXT2VW7tjaZ0AiBghYo914ho3YiZVa6afGQP0ibL5fNoEvqE1aEWPNO/fg=="}]},"_npmUser":{"name":"camol","email":"kwwnjujlc@sina.com"},"directories":{},"maintainers":[{"name":"camol","email":"kwwnjujlc@sina.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-react-svg_0.0.3_1640675117924_0.5701101251619463"},"_hasShrinkwrap":false},"0.0.4":{"name":"@camol/vite-plugin-react-svg","version":"0.0.4","description":"## Usage ```javascript import svgPlugin from \"vite-plugin-react-svg\";","main":"lib/index.js","module":"src/index.js","jsnext:module":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/kanweiwei/vite-plugin-react-svg.git"},"keywords":["vite"],"author":{"name":"kanweiwei"},"license":"MIT","bugs":{"url":"https://github.com/kanweiwei/vite-plugin-react-svg/issues"},"homepage":"https://github.com/kanweiwei/vite-plugin-react-svg#readme","dependencies":{"@babel/core":"^7.16.5","@babel/preset-react":"^7.16.5","@svgr/babel-preset":"^6.1.0","@svgr/core":"^6.1.2","@svgr/plugin-jsx":"^6.1.2","@svgr/plugin-svgo":"^6.1.2"},"devDependencies":{"gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","prettier":"^2.5.1","typescript":"^4.4.3"},"gitHead":"8717506ca8a38d6123229861e5d5be4455742a75","_id":"@camol/vite-plugin-react-svg@0.0.4","_nodeVersion":"12.22.8","_npmVersion":"6.14.15","dist":{"integrity":"sha512-egSkUpUdxg/m1kfp0LeUA89iwzt3pNpYbjVxLyCTdsrGcOWOZinRtI9y6rb7XNVFBbw3MxLrprqVvfQzkTnQMg==","shasum":"68e53c8a4e4afc774b47aaba64b525f52de98970","tarball":"https://registry.npmjs.org/@camol/vite-plugin-react-svg/-/vite-plugin-react-svg-0.0.4.tgz","fileCount":6,"unpackedSize":6071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhywiICRA9TVsSAnZWagAAB10P/AmxYqkJq9rrEZqpUtCt\nPaBaJy6Jb+mBDtIK1/BfpaAXuQQnFhIyBWqTzB2VQG51fTwx7x6LakNoMMHh\n2e/5s1aOcSuGRlbqvu6UXyuBNAueFmKCYigeJ3jo2vK8U49y1I5bGInCTTdK\nhSksbK7DD30tifjqU6/Ew4R0mW6GbxUAB5b6CFdOkceRVHDnTO645bzXh2aC\ngWZCBUtxYnC5X+C9jYY/E8qOM9DBDfNuTg2fFypzDd7/nL+mflEJHGarVsdv\n++iZuMT/BA+7g6JeuQwJnsNKNRHNXxTzhFUXHtHHQh7P3ShrCdC7p+wtK6ha\n/TnoOO7xnM4crwkiyno78hOhSCVWVqkZM0vZGY5YCBulfO8dgbUnoUkrRtVV\nlMGU6ZHxcb6ykCd37G7r+mr1vyFzxz4A4QRDvIdzp7Ig1GFZ5/JAYJlrs7Ej\nhB3TC51ykN1xR5mSC7zKVvEvY7460fhEW+7M3VKe3iG4euSFcNQ0vFmhijiD\nfur1+lEwmooD6Kwn+iRSc6E67Je0Dq4QTrgzKoz3Fth0IXsvG6mKaFFPePAW\nIfeMzJpjYE42/fwOlpRSa61q6V/UbtnWwcZtJy0Bu6d+il03JGr5R8K1FfW1\nt5NS5u7/Ln8lQRnMGZCQB3mm86tVKZMMN+w1qaoNOkEPgX7kC/k4bD8gCblt\nEQGr\r\n=/ZAR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNjJiIi9DQ2zeTLN7TdqCVu0auhlghYpvyyul6rs8sJAIhALpbZaSqh8Bkl3zOjVlcHe0WW0Yxlrax8cIoNff63mFW"}]},"_npmUser":{"name":"camol","email":"kwwnjujlc@sina.com"},"directories":{},"maintainers":[{"name":"camol","email":"kwwnjujlc@sina.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-react-svg_0.0.4_1640695944047_0.9844000506663888"},"_hasShrinkwrap":false},"0.0.5":{"name":"@camol/vite-plugin-react-svg","version":"0.0.5","description":"## Usage ```javascript import svgPlugin from \"vite-plugin-react-svg\";","main":"lib/index.js","module":"src/index.js","jsnext:module":"src/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/kanweiwei/vite-plugin-react-svg.git"},"keywords":["vite"],"author":{"name":"kanweiwei"},"license":"MIT","bugs":{"url":"https://github.com/kanweiwei/vite-plugin-react-svg/issues"},"homepage":"https://github.com/kanweiwei/vite-plugin-react-svg#readme","dependencies":{"@babel/core":"^7.16.5","@babel/preset-react":"^7.16.5","@svgr/babel-preset":"^6.1.0","@svgr/core":"^6.1.2","@svgr/plugin-jsx":"^6.1.2","@svgr/plugin-svgo":"^6.1.2"},"devDependencies":{"gulp":"^4.0.2","gulp-typescript":"^6.0.0-alpha.1","prettier":"^2.5.1","typescript":"^4.4.3"},"gitHead":"d30a1198ff9cc2ffda9d49838aab6487602e583a","_id":"@camol/vite-plugin-react-svg@0.0.5","_nodeVersion":"12.22.8","_npmVersion":"6.14.15","dist":{"integrity":"sha512-cCpLNIqZ+qoT5OE+LKBTILzGME/DpcWuBulfspeFuIfErqmTygnYQ9Oo3B0zWo1iSgFFmBdv+TY9hDq1rDvGzA==","shasum":"15170307bcf312bb9cc8aa72a8e9686809563353","tarball":"https://registry.npmjs.org/@camol/vite-plugin-react-svg/-/vite-plugin-react-svg-0.0.5.tgz","fileCount":6,"unpackedSize":6071,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiJXh/ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq2tQ//bafubFrPWoEurrXWGyJ3k1f0ejx2XU63gG7TWXhsi7yG8Bt1\r\nfjTwd6xGUtHqODg8nSOlENfA+l74GOYKo3FDPz31CJDMIlmPIwQSwMs1Bx0q\r\n1bfWKfHp+fzm7L8UZPfyFUtQETkQAnTZYmq4KDBmpawHJw1ZbyKrrir/ExG3\r\nhqLdYxwJ1J9wTRDyPqhSmpGKRum7dP9fp90vniggo+4CEO5xCMuz3puDUKmf\r\nHQH9KvdA3Az+2k3as8i/HMAx9aTk8ZTMz8pL/9zPNwcAabUtdtZomC7JzWdr\r\naOezIqQijPxm2fqQkIGjV9yFrwOX21EeD7YDNQelrIeS5lfyUdUUUoFov24L\r\n73HhnWhTnJaCxbstiZ0YAK4CKZuEwMaUmkXHCa/CbhsYdNLceUaQNkse9VkY\r\n3Z5fmwnwwkm+/IWPASlbmXotvjbdCEf25v9OnJXi6wIIGHAXLNQYSbSLv/9p\r\nlNuuzwGZJy+TDX4Lash8282t/bwOiQ9ddDN99puqVE7NrKv8MZWK4bCvBqpY\r\nPVvRJvbN1myO5KSxyipEKaC/KUxZpgZPLO2J8OPmg6m59izu8tqGIXdL+WxB\r\nRgegMyUS7wVAsvsXU+tvADluXJ7x9xyaH7/5UAm8zEVpno4ENGR8fNN6X40Q\r\nwY9seZJBWgU6yZhLBgzwjyNP+YopY6mFM0I=\r\n=Rktv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCZsFYnrH4hmcbmaj/HCDpqiB0xP+L7ZWFuR8TTAbycUwIhAN14O2G5R30ClO1wudi70nLq+b2CllgvOZSRIX5HLqIH"}]},"_npmUser":{"name":"camol","email":"kwwnjujlc@sina.com"},"directories":{},"maintainers":[{"name":"camol","email":"kwwnjujlc@sina.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vite-plugin-react-svg_0.0.5_1646622846979_0.7856230788791654"},"_hasShrinkwrap":false}},"time":{"created":"2021-10-20T03:02:21.881Z","0.0.1":"2021-10-20T03:02:22.087Z","modified":"2022-04-04T21:34:32.935Z","0.0.2":"2021-12-27T06:27:56.740Z","0.0.3":"2021-12-28T07:05:18.048Z","0.0.4":"2021-12-28T12:52:24.192Z","0.0.5":"2022-03-07T03:14:07.270Z"},"maintainers":[{"name":"camol","email":"kwwnjujlc@sina.com"}],"description":"## Usage ```javascript import svgPlugin from \"vite-plugin-react-svg\";","homepage":"https://github.com/kanweiwei/vite-plugin-react-svg#readme","keywords":["vite"],"repository":{"type":"git","url":"git+https://github.com/kanweiwei/vite-plugin-react-svg.git"},"author":{"name":"kanweiwei"},"bugs":{"url":"https://github.com/kanweiwei/vite-plugin-react-svg/issues"},"license":"MIT","readme":"# vite-plugin-react-svg\n\n## Usage\n```javascript\nimport svgPlugin from \"vite-plugin-react-svg\";\n\n\n// vite.config.js\n// ...\nplugins: [\n    svgPlugin(options) // svgr options\n]\n\n// ...\n\n\n```\n\n```jsx\nimport svgUrl, { ReactComponent as SvgIcon } from '***.svg';\n// ...\n<SvgIcon style={{fontSize: 16}} />\n// ...\n<img src={svgUrl}  alt=\"\"/>\n// ...\n\n```","readmeFilename":"README.md"}