diff --git a/src/index.js b/src/index.js index b92fa966..a92482a5 100644 --- a/src/index.js +++ b/src/index.js @@ -232,6 +232,7 @@ class TerserPlugin { if (this.options.cache) { const defaultCacheKeys = { terser: terserPackageJson.version, + node_version: process.version, // eslint-disable-next-line global-require 'terser-webpack-plugin': require('../package.json').version, 'terser-webpack-plugin-options': this.options,