From b9969230321df68ed235ed1861729837f234750e Mon Sep 17 00:00:00 2001 From: Alexander Akait Date: Fri, 13 Nov 2020 18:12:40 +0300 Subject: [PATCH] fix: watching (#555) --- 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);