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);