@@ -370,9 +370,7 @@ class CopyPlugin {
370370 glob = path . isAbsolute ( originalFrom )
371371 ? originalFrom
372372 : path . posix . join (
373- getTinyGlobby ( ) . escapePath (
374- getNormalizePath ( ) ( path . resolve ( pattern . context ) ) ,
375- ) ,
373+ getTinyGlobby ( ) . escapePath ( getNormalizePath ( ) ( pattern . context ) ) ,
376374 originalFrom ,
377375 ) ;
378376 }
@@ -477,11 +475,6 @@ class CopyPlugin {
477475 path . relative ( compiler . context , absoluteFilename ) ,
478476 ) ;
479477
480- // eslint-disable-next-line no-console
481- console . log ( sourceFilename ) ;
482- // eslint-disable-next-line no-console
483- console . log ( path . relative ( compiler . context , absoluteFilename ) ) ;
484-
485478 // If this came from a glob or dir, add it to the file dependencies
486479 if ( fromType === "dir" || fromType === "glob" ) {
487480 compilation . fileDependencies . add ( absoluteFilename ) ;
@@ -703,9 +696,7 @@ class CopyPlugin {
703696 const base = path . basename ( sourceFilename ) ;
704697 const name = base . slice ( 0 , base . length - ext . length ) ;
705698 const data = {
706- filename : getNormalizePath ( ) (
707- path . relative ( pattern . context , absoluteFilename ) ,
708- ) ,
699+ filename : getNormalizePath ( ) ( relativeFrom ) ,
709700 contentHash,
710701 chunk : {
711702 name,
0 commit comments