mirror of
https://github.com/elyby/accounts-frontend.git
synced 2025-01-15 16:22:07 +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)$/,
|
test: /\.(png|gif|jpg|svg)$/,
|
||||||
loader: 'url',
|
loader: 'file',
|
||||||
query: {
|
query: {
|
||||||
limit: 1000,
|
|
||||||
name: 'assets/[name].[ext]?[hash]'
|
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',
|
loader: 'file',
|
||||||
query: {
|
query: {
|
||||||
name: 'assets/fonts/[name].[ext]?[hash]'
|
name: 'assets/fonts/[name].[ext]?[hash]'
|
||||||
|
Loading…
x
Reference in New Issue
Block a user