Skip to content

Commit

Permalink
Switched from hash to contenthash
Browse files Browse the repository at this point in the history
  • Loading branch information
marekdedic committed Feb 10, 2021
1 parent 0e30a7b commit f33fc04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Expand Up @@ -121,7 +121,7 @@ module.exports = function (options, wp, done) {

config.entry = config.entry || entry;
config.output.path = config.output.path || process.cwd();
config.output.filename = config.output.filename || '[hash].js';
config.output.filename = config.output.filename || '[contenthash].js';
entry = [];

if (!config.entry || config.entry.length < 1) {
Expand Down

0 comments on commit f33fc04

Please sign in to comment.