diff --git a/lib/prepare-file-list.js b/lib/prepare-file-list.js index 4fa419f..5dd681e 100644 --- a/lib/prepare-file-list.js +++ b/lib/prepare-file-list.js @@ -116,7 +116,9 @@ function prepareFilesList(config) { // Check if the dir exists if (existsSync(directory)) { files.push( - ...glob.sync(path.join(directory, '**', `*.${fileExtensions[0]}`)) + ...glob.sync( + path.posix.join(directory, '**', `*.${fileExtensions[0]}`) + ) ) } else { console.error(