webpack config for inline icon svg (#4437)
This commit is contained in:
parent
172b40ae30
commit
43bb862adb
@ -117,8 +117,13 @@ module.exports = {
|
|||||||
test: /\.(woff(2)|ttf|eot|otf)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
test: /\.(woff(2)|ttf|eot|otf)(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
||||||
use: [ 'file-loader?name=fonts/[name][hash:10].[ext]' ]
|
use: [ 'file-loader?name=fonts/[name][hash:10].[ext]' ]
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
test: /parity-logo-white-no-text\.svg/,
|
||||||
|
use: [ 'url-loader' ]
|
||||||
|
},
|
||||||
{
|
{
|
||||||
test: /\.svg(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
test: /\.svg(\?v=[0-9]\.[0-9]\.[0-9])?$/,
|
||||||
|
exclude: [ /parity-logo-white-no-text\.svg/ ],
|
||||||
use: [ 'file-loader?name=assets/[name].[hash:10].[ext]' ]
|
use: [ 'file-loader?name=assets/[name].[hash:10].[ext]' ]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user