mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-27 23:40:28 +05:30
#52: add hash into font names
This commit is contained in:
parent
a81a2d6205
commit
c1723d09d7
@ -1,6 +1,6 @@
|
||||
{
|
||||
"files": ["icons/webfont/*"],
|
||||
"fileName": "[fontname][ext]",
|
||||
"fileName": "[hash]-[fontname][ext]",
|
||||
"fontName": "ely-account-icons",
|
||||
"cssTemplate": "icons.css.hbs",
|
||||
"classPrefix": "",
|
||||
|
@ -156,6 +156,10 @@ var webpackConfig = {
|
||||
test: /\.(png|gif|jpg)$/,
|
||||
loader: 'url?limit=1000'
|
||||
},
|
||||
{ // TODO: увы, эта штука пока не работает. Хеш добавляется через ./webpack/node-sass-iconfont-importer
|
||||
test: /\.(woff|woff2|eot|ttf)$/,
|
||||
loader: 'url'
|
||||
},
|
||||
{
|
||||
test: /\.json$/,
|
||||
exclude: /intl\.json/,
|
||||
|
Loading…
Reference in New Issue
Block a user