|
@@ -35,8 +35,10 @@ module.exports = webpackMerge(commonConfig, {
|
|
|
{
|
|
|
test: /icons\.json$/,
|
|
|
loaders: [
|
|
|
- 'style',
|
|
|
- 'raw',
|
|
|
+ 'ignore',
|
|
|
+ // Need to output to an external file, since fontgen consolidates: "../.." into: "../", even after
|
|
|
+ // doing the string-replace below. This is a problem, since we're loading from a webjar now.
|
|
|
+ 'file?name=fonts.css',
|
|
|
// This replaces path from app root so the urls are relative to the output directory
|
|
|
'string-replace?search=url%5C("%5C/&replace=url("./&flags=gm',
|
|
|
'fontgen?fileName=fonts/[fontname]-[hash][ext]'
|