We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65b8634 commit 2f9d62bCopy full SHA for 2f9d62b
1 file changed
src/index.js
@@ -336,7 +336,7 @@ class CopyPlugin {
336
337
pattern.context = absoluteFrom;
338
glob = path.posix.join(
339
- getTinyGlobby().escapePath(absoluteFrom),
+ getTinyGlobby().escapePath(getNormalizePath()(absoluteFrom)),
340
"**/*",
341
);
342
@@ -350,7 +350,7 @@ class CopyPlugin {
350
logger.debug(`added '${absoluteFrom}' as a file dependency`);
351
352
pattern.context = path.dirname(absoluteFrom);
353
- glob = getTinyGlobby().escapePath(absoluteFrom);
+ glob = getTinyGlobby().escapePath(getNormalizePath()(absoluteFrom));
354
355
if (typeof globOptions.dot === "undefined") {
356
globOptions.dot = true;
0 commit comments