diff --git a/common/translations-cli/helpers.js b/common/translations-cli/helpers.js index fca2eeec8..b2f1e8658 100644 --- a/common/translations-cli/helpers.js +++ b/common/translations-cli/helpers.js @@ -31,7 +31,7 @@ async function getFiles(dir, extensions) { return getFiles(filePath, extensions); } else if (stats.isFile() && hasValidExtension(file, extensions)) { const slashPath = filePath.replace(/\\/g, '/'); - if (slashPath.includes('/node_modules/') || slashPath.includes('/build/')) { + if (slashPath.includes('/node_modules/') || slashPath.includes('/build/') || slashPath.includes('/dist/')) { return null; } return filePath;