Rollup Plugin SVG To Vue
A plugin roll svg files as a Vue 3 component.
Installation
npm install --save-dev rollup-plugin-svg-to-vue
Usage
config rollup.config.js
;; plugins: ;
Options
include: 'foo/**'; // default /\.svg$/ exclude: 'bar/**' 'foobar/**'; // default [] svgo: /* svgo options*/ // default {} sourceMap: false; // default false target: 'browser'; // or 'node' for ssr