Skip to content

Commit

Permalink
Merge pull request #14393 from webpack/bugfix/define-plugin
Browse files Browse the repository at this point in the history
give DefinePlugin a different key to avoid conflicting with different variants of it
  • Loading branch information
sokra committed Oct 4, 2021
2 parents 4eb1220 + ebc2551 commit 8352400
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/DefinePlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ const toCacheVersion = code => {
};

const VALUE_DEP_PREFIX = "webpack/DefinePlugin ";
const VALUE_DEP_MAIN = "webpack/DefinePlugin";
const VALUE_DEP_MAIN = "webpack/DefinePlugin_hash";

class DefinePlugin {
/**
Expand Down

0 comments on commit 8352400

Please sign in to comment.