Skip to content

Media24si/purgesvg-webpack-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

purgesvg-webpack-plugin

for webpack v3

Installation

npm install --save-dev purgesvg-webpack-plugin
yarn add --dev purgesvg-webpack-plugin

Usage

Example webpack.config.js

const PurgeSvgPlugin = require('purgesvg-webpack-plugin');

module.exports = {
    plugins: [
        new PurgeSvgPlugin({
            // options
        }),
    ],
};

Available options at Media24si/purge-svg