mirror of
https://github.com/elyby/accounts-frontend.git
synced 2024-12-27 23:40:28 +05:30
#161: disable image inlining in favor of http2 and caching
This commit is contained in:
parent
6160e4a0bc
commit
75c90d9250
@ -160,14 +160,13 @@ var webpackConfig = {
|
||||
},
|
||||
{
|
||||
test: /\.(png|gif|jpg|svg)$/,
|
||||
loader: 'url',
|
||||
loader: 'file',
|
||||
query: {
|
||||
limit: 1000,
|
||||
name: 'assets/[name].[ext]?[hash]'
|
||||
}
|
||||
},
|
||||
{
|
||||
test: /\.(woff|woff2|eot|ttf)$/, // NOTE: svg is loaded by another loader for now
|
||||
test: /\.(woff|woff2|ttf)$/,
|
||||
loader: 'file',
|
||||
query: {
|
||||
name: 'assets/fonts/[name].[ext]?[hash]'
|
||||
|
Loading…
Reference in New Issue
Block a user