Skip to content
This repository has been archived by the owner on Mar 8, 2020. It is now read-only.

Commit

Permalink
fix: set SingleEntryPlugin name
Browse files Browse the repository at this point in the history
closes #48
  • Loading branch information
brunocodutra committed Mar 20, 2018
1 parent 968afbb commit ee66cfd
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 @@ -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) => {
Expand Down

0 comments on commit ee66cfd

Please sign in to comment.