From ee66cfdeddd81aed35f6a201d2daaab59e1269d0 Mon Sep 17 00:00:00 2001 From: Bruno Dutra Date: Tue, 20 Mar 2018 21:10:59 +0100 Subject: [PATCH] fix: set SingleEntryPlugin name closes #48 --- src/compiler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compiler.js b/src/compiler.js index 24d5a8c..86b9e7f 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -20,7 +20,7 @@ module.exports.run = ({prefix, favicons: options, logo, cache: cacheDirectory}, : '' ; - new SingleEntryPlugin(context, `!${cache}${loader}!${logo}`).apply(compiler); + new SingleEntryPlugin(context, `!${cache}${loader}!${logo}`, path.basename(logo)).apply(compiler); // Compile and return a promise return new Promise((resolve, reject) => {