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