Removes /vendor/composer/installed.json from build process to avoid exposing versioning of libraries.

This commit is contained in:
mateuswetah 2024-06-04 09:18:50 -03:00
parent 2f127030ed
commit c5785f7ffe
1 changed files with 1 additions and 0 deletions

View File

@ -98,6 +98,7 @@ rsync -axz --exclude='vendor/bin/phpc*' --exclude='vendor/squizlabs' --exclude='
--exclude='vendor/tecnickcom/tcpdf/fonts' \ --exclude='vendor/tecnickcom/tcpdf/fonts' \
--exclude='vendor/smalot/pdfparser/src/Smalot/PdfParser/Tests/' \ --exclude='vendor/smalot/pdfparser/src/Smalot/PdfParser/Tests/' \
--exclude='vendor/tecnickcom/tcpdf/examples' \ --exclude='vendor/tecnickcom/tcpdf/examples' \
--exclude='vendor/composer/installed.json' \
src/* $wp_plugin_dir/ src/* $wp_plugin_dir/
echo "Removing unecessary source files" echo "Removing unecessary source files"