From 3f4ab50660b583628942876183460d1e75c045ad Mon Sep 17 00:00:00 2001 From: evilebottnawi Date: Fri, 13 Nov 2020 18:08:20 +0300 Subject: [PATCH] fix: watching --- src/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/index.js b/src/index.js index fa49bca0..eff15b40 100644 --- a/src/index.js +++ b/src/index.js @@ -438,7 +438,7 @@ class CopyPlugin { snapshot = await CopyPlugin.createSnapshot( compilation, startTime, - sourceFilename + absoluteFilename ); } catch (error) { compilation.errors.push(error);