1. rollup-svg-sprite-loader
Import SVG files into sprite
rollup-svg-sprite-loader
Package: rollup-svg-sprite-loader
Last modified: Mon, 16 May 2022 04:46:16 GMT
Version: 1.0.3
License: ISC
Downloads: 738

Install

npm install rollup-svg-sprite-loader
yarn add rollup-svg-sprite-loader

rollup-svg-sprite-loader

Import SVG files into sprite

Installation

 npm install --save-dev rollup-svg-sprite-loader

Usage

 // rollup.config.js
import svgSpriteLoader from 'rollup-svg-sprite-loader';

export default {
  entry: 'src/index.js',
  dest: 'dist/my-lib.js',
  plugins: [
    svgSpriteLoader()
  ]
};

RELATED POST

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Enhancing Vue.js Development: Harnessing the Potential of Vue-Loader

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Simplify Data Validation in Vue.js: A Step-by-Step Guide to Using Regex

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Troubleshooting Made Easy: Common Issues and Solutions with vue-loader Without vue-cli

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Optimizing Webpack 4 with Vue CLI 3: Disabling the Cache-Loader

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin

Step-by-Step Guide: How to Add a Function to Your Vuex Plugin