From 15c4a1a71f07cad56a398d5dca9c4be3573e14db 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 10545764..186231aa 100644 --- a/src/compiler.js +++ b/src/compiler.js @@ -21,7 +21,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) => {