parcel-plugin-svg2base64

1.0.2 • Public • Published

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....

Readme

Keywords

none

Package Sidebar

Install

npm i parcel-plugin-svg2base64

Weekly Downloads

1

Version

1.0.2

License

ISC

Unpacked Size

1.19 kB

Total Files

4

Last publish

Collaborators

  • anderpang