diff --git a/projects/npm-tools/packages/npm-scripts/src/utils/buildArtifacts.js b/projects/npm-tools/packages/npm-scripts/src/utils/buildArtifacts.js index d3213b52f1..5c5d4f8cf9 100644 --- a/projects/npm-tools/packages/npm-scripts/src/utils/buildArtifacts.js +++ b/projects/npm-tools/packages/npm-scripts/src/utils/buildArtifacts.js @@ -130,15 +130,15 @@ function setCache(moduleName, srcFiles, output) { const builtFiles = expandGlobs( [ - path.join(output, '**/*.css'), - path.join(output, '**/*.js'), - path.join(output, '**/*.json'), - path.join(output, '**/*.jsx'), - path.join(output, '**/*.map'), - path.join(output, '**/*.scss'), - path.join(output, '**/*.soy'), - path.join(output, '**/*.ts'), - path.join(output, '**/*.tsx'), + output + '/**/*.css', + output + '/**/*.js', + output + '/**/*.json', + output + '/**/*.jsx', + output + '/**/*.map', + output + '/**/*.scss', + output + '/**/*.soy', + output + '/**/*.ts', + output + '/**/*.tsx', ], [] );