From d9c306438334e69c79df13e8eaf884c330cc92f4 Mon Sep 17 00:00:00 2001 From: EricAdonis Date: Wed, 31 Jul 2019 19:49:16 +0700 Subject: [PATCH] fix issues 9485 --- lib/AutomaticPrefetchPlugin.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AutomaticPrefetchPlugin.js b/lib/AutomaticPrefetchPlugin.js index 2d0db16ecdb..5a1ba6efea6 100644 --- a/lib/AutomaticPrefetchPlugin.js +++ b/lib/AutomaticPrefetchPlugin.js @@ -44,7 +44,7 @@ class AutomaticPrefetchPlugin { (m, callback) => { compilation.prefetch( m.context || compiler.context, - new PrefetchDependency(m.request), + new PrefetchDependency(`!!${m.request}`), callback ); },