From b6042fb9371fc297e9677cd7916963cd21ef1fc4 Mon Sep 17 00:00:00 2001 From: Florent Cailhol Date: Wed, 4 Apr 2018 13:41:56 +0200 Subject: [PATCH] Prevent identToLoaderRequest to return 2 objects with different shapes --- lib/NormalModuleFactory.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/NormalModuleFactory.js b/lib/NormalModuleFactory.js index beb24a6b9..ef6decfd0 100644 --- a/lib/NormalModuleFactory.js +++ b/lib/NormalModuleFactory.js @@ -43,7 +43,8 @@ const identToLoaderRequest = resultString => { }; } else { return { - loader: resultString + loader: resultString, + options }; } };