webfonts-loader
Advanced tools
Comparing version 0.2.3 to 0.2.4
@@ -122,2 +122,6 @@ var loaderUtils = require('loader-utils'); | ||
if (config.cssFontsPath) { | ||
fontconf.cssFontsPath = absolute(this.context, config.cssFontsPath); | ||
} | ||
for (var option in config.templateOptions) { | ||
@@ -156,2 +160,6 @@ if (config.templateOptions.hasOwnProperty(option)) { | ||
if (fontconf.cssFontsPath) { | ||
this.addDependency(fontconf.cssFontsPath); | ||
} | ||
fontgen(fontconf, function (err, res) { | ||
@@ -158,0 +166,0 @@ if (err) { |
{ | ||
"name": "webfonts-loader", | ||
"version": "0.2.3", | ||
"version": "0.2.4", | ||
"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", |
@@ -14,3 +14,4 @@ var path = require('path'); | ||
loader: 'style!css!' + require.resolve('../') | ||
}, { | ||
}, | ||
{ | ||
test: /\.(woff|eot|ttf|svg)$/, | ||
@@ -17,0 +18,0 @@ loader: 'url' |
368440
534