Skip to content
This repository has been archived by the owner on Dec 5, 2019. It is now read-only.

Commit

Permalink
fix: invalidate cache after changing node version (#396)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi committed Feb 25, 2019
1 parent a5121cf commit 380bb54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.js
Expand Up @@ -231,8 +231,8 @@ class UglifyJsPlugin {

if (this.options.cache) {
const defaultCacheKeys = {
// eslint-disable-next-line global-require
'uglify-js': uglifyJsPackageJson.version,
node_version: process.version,
// eslint-disable-next-line global-require
'uglifyjs-webpack-plugin': require('../package.json').version,
'uglifyjs-webpack-plugin-options': this.options,
Expand Down

0 comments on commit 380bb54

Please sign in to comment.