Releases: swisnl/laravel-mix-svg-sprite
Releases · swisnl/laravel-mix-svg-sprite
2.0.0
1.0.2
1.0.1
1.0.0
0.0.1
This component adds an extra API to Mix to create a SVG sprite of separate SVG files. It can be used just like the other API's of Mix:
// webpack.mix.js
let mix = require('laravel-mix');
require('laravel-mix-svg-sprite');
mix
.js('src', 'output')
.sass('src', 'output')
.svgSprite('src/icons', 'output/sprite.svg', [loaderOptions], [pluginOptions]);
Please see the documentation for additional information about using this component.