@lexiang/rollup-plugin-svg-sprite

0.1.3 • Public • Published

@lexiang/rollup-plugin-svg-sprite

Import svg files into sprite,base on rollup-svg-sprite-loader

Installation

yarn add @lexiang/rollup-plugin-svg-sprite -D

Usage

// rollup.config.js
import svgSpriteLoader from '@lexiang/rollup-plugin-svg-sprite';

export default {
  plugins: [
    svgSpriteLoader(),
  ],
};

Package Sidebar

Install

npm i @lexiang/rollup-plugin-svg-sprite

Weekly Downloads

48

Version

0.1.3

License

MIT

Unpacked Size

2.79 kB

Total Files

4

Last publish

Collaborators

  • cattyhuang
  • lexiangla