Decoupled Plugins: Prevent copying project.json into dist directories (#94952)

fix(plugin-configs): prevent copying project.json into dist directories
This commit is contained in:
Jack Westbrook 2024-10-18 13:03:28 +02:00 committed by GitHub
parent afeb0fc792
commit 1ec68b6917
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -22,6 +22,10 @@ function skipFiles(f: string): boolean {
// avoid copying package.json
return false;
}
if (f.includes('/project.json')) {
// avoid copying project.json
return false;
}
return true;
}