Skip to content

Commit

Permalink
fix: set SingleEntryPlugin name
Browse files Browse the repository at this point in the history
closes #48
  • Loading branch information
brunocodutra authored and jantimon committed Aug 14, 2019
1 parent 8d4dc53 commit 15c4a1a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/compiler.js
Original file line number Diff line number Diff line change
Expand Up @@ -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) => {
Expand Down

0 comments on commit 15c4a1a

Please sign in to comment.