mix-white-sass-icons
v0.2.0
Published
Automatic fontello builds for use with Laravel Mix and white-sass
Maintainers
Readme
Laravel Mix white-sass icons
A Laravel Mix extension to automatically create icon fonts with SVGs from a folder.
Installation
NPM
npm i mix-white-sass-iconsYarn
yarn add mix-white-sass-iconsUsage
In your webpack.mix.js file:
require('mix-white-sass-icons');
// First argument is the folder with SVGs, second argument is the folder where the font files should be saved.
mix.icons('resources/icons', 'resources/fonts');