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