Skip to content

Commit 675edfd

Browse files
fabiosantoscodeevilebottnawi
authored andcommittedFeb 25, 2019
fix: invalidate cache after changing node version
1 parent 6abc66c commit 675edfd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed
 

‎src/index.js

+1
Original file line numberDiff line numberDiff line change
@@ -232,6 +232,7 @@ class TerserPlugin {
232232
if (this.options.cache) {
233233
const defaultCacheKeys = {
234234
terser: terserPackageJson.version,
235+
node_version: process.version,
235236
// eslint-disable-next-line global-require
236237
'terser-webpack-plugin': require('../package.json').version,
237238
'terser-webpack-plugin-options': this.options,

0 commit comments

Comments
 (0)
Please sign in to comment.