From 75c90d92500606dde3b4c50073b9b3a45c49a9e8 Mon Sep 17 00:00:00 2001 From: SleepWalker Date: Thu, 28 Jul 2016 07:32:36 +0300 Subject: [PATCH] #161: disable image inlining in favor of http2 and caching --- webpack.config.js | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/webpack.config.js b/webpack.config.js index 0171f1a..c32b4dd 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -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]'