parcel-plugin-svg2base64
v1.0.2
Published
Allows the import of svg files as base64 strings in js files
Downloads
4
Readme
parcel-plugin-svg2base64
Convert the imported svg file to base64
Installation
npm install --save-dev parcel-plugin-svg2base64
Usage
import a from "a.svg";
console.log(a);
// result: data:image/svg+xml;base64,xxxx....