webfonts-loader
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -99,3 +99,3 @@ var loaderUtils = require('loader-utils'); | ||
templateOptions: { | ||
baseClass: config.baseClass || 'icon', | ||
baseSelector: config.baseSelector || '.icon', | ||
classPrefix: 'classPrefix' in config ? config.classPrefix : 'icon-' | ||
@@ -102,0 +102,0 @@ }, |
{ | ||
"name": "webfonts-loader", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "A WebPack loader to automaticaly generate font files and CSS to make your own icon font", | ||
@@ -5,0 +5,0 @@ "repository": "jeerbl/webfonts-loader", |
@@ -68,3 +68,3 @@ ### __This repository has been dumped from [DragonsInn/fontgen-loader](https://github.com/DragonsInn/fontgen-loader) since it wasn't updated since March 2016.__ | ||
"classPrefix": "ai-", | ||
"baseClass": "ai", | ||
"baseSelector": ".ai", | ||
"fixedWidth": true, | ||
@@ -108,4 +108,4 @@ "types": ["eot", "woff", "ttf", "svg"] // this is the default | ||
- `baseClass`, String | ||
The base class, under which each icon class is to be crated. | ||
- `baseSelector`, String | ||
The base CSS selector, under which each icon class is to be created. | ||
@@ -112,0 +112,0 @@ - `classPrefix`, String |
368236