webfonts-loader
Advanced tools
Comparing version 7.3.0 to 7.4.0
@@ -119,2 +119,3 @@ var loaderUtils = require('loader-utils'); | ||
if ('startCodepoint' in fontConfig) generatorOptions.startCodepoint = fontConfig.startCodepoint; | ||
if ('ligature' in fontConfig) generatorOptions.ligature = fontConfig.ligature; | ||
@@ -134,2 +135,6 @@ if ('htmlTemplate' in fontConfig) generatorOptions.htmlTemplate = fontConfig.htmlTemplate; | ||
if (fontConfig.cssContext) { | ||
generatorOptions.cssContext = fontConfig.cssContext; | ||
} | ||
if (fontConfig.cssTemplate) { | ||
@@ -136,0 +141,0 @@ generatorOptions.cssTemplate = path.resolve(this.context, fontConfig.cssTemplate); |
{ | ||
"name": "webfonts-loader", | ||
"version": "7.3.0", | ||
"version": "7.4.0", | ||
"description": "A WebPack loader to automatically generate font files and CSS to make your own icon font", | ||
@@ -5,0 +5,0 @@ "repository": "jeerbl/webfonts-loader", |
@@ -5,3 +5,3 @@ # webfonts-loader | ||
[![npm](https://img.shields.io/npm/dm/webfonts-loader.svg)](https://www.npmjs.com/package/webfonts-loader) | ||
[![Travis](https://img.shields.io/travis/jeerbl/webfonts-loader.svg)](https://travis-ci.com/jeerbl/webfonts-loader) | ||
[![GitHub Action](https://img.shields.io/github/workflow/status/jeerbl/webfonts-loader/Node.js%20CI)](https://github.com/jeerbl/webfonts-loader/actions/workflows/node.js.yml) | ||
[![license](https://img.shields.io/github/license/jeerbl/webfonts-loader.svg)](https://github.com/jeerbl/webfonts-loader/blob/master/LICENSE) | ||
@@ -122,2 +122,7 @@ | ||
##### `cssContext`, String | ||
Add parameters or helpers to your template. | ||
See [webfonts-generator#cssContext](https://github.com/vusion/webfonts-generator#cssContext) | ||
##### `cssTemplate`, String | ||
@@ -248,1 +253,5 @@ | ||
See [webfonts-generator#htmltemplate](https://github.com/vusion/webfonts-generator#htmltemplate) | ||
##### `startCodepoint`, Number | ||
See [webfonts-generator#startcodepoint](https://github.com/vusion/webfonts-generator#startcodepoint) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
23724
305
255