From 20ebb84f9343dddbf70cdc1f0b4523c91e64125d Mon Sep 17 00:00:00 2001 From: Guy Bedford Date: Tue, 27 Apr 2021 16:22:19 +0200 Subject: [PATCH] fix: Adjust caching to use hashes (#698) Co-authored-by: Steven --- src/index.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.js b/src/index.js index b1bf71e5..87ac0b9c 100644 --- a/src/index.js +++ b/src/index.js @@ -227,6 +227,10 @@ function ncc ( name: `ncc_${hashOf(entry)}`, version: nccVersion }, + snapshot: { + managedPaths: [], + module: { hash: true } + }, amd: false, optimization: { nodeEnv: false,