#161: disable image inlining in favor of http2 and caching

This commit is contained in:
SleepWalker 2016-07-28 07:32:36 +03:00
parent 6160e4a0bc
commit 75c90d9250

View File

@ -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]'