Icons
iconfont-plugin-webpack
allows to create icon font from SVG files and also generate SCSS file with
classes for icons based on image filenames.
You can pass following options to features config:
features: {
icons: {
src: string;
fontDest: string;
scssDest: string;
}
}
src
: path to source folder containing .svg filesfontDest
: directory to generate font files toscssDest
: directory to generate .scss file