Closed danielwrobert closed 1 year ago
The composer archive command previously included the /vendor directory where the .gitignore file excludes it.
composer archive
/vendor
.gitignore
This adjusts the exclude array in the composer.json file to omit the /vendor directory from the zip generation.
composer.json
See this internal conversation for additional context: p1689174493505199-slack-C7U3Y3VMY.
Props to @danieldudzic for discovering the discrepancy!
composer install
npm run build
storefront.zip
Fix – add exclusion for /vendor directory in release zip build.
The
composer archive
command previously included the/vendor
directory where the.gitignore
file excludes it.This adjusts the exclude array in the
composer.json
file to omit the/vendor
directory from the zip generation.See this internal conversation for additional context: p1689174493505199-slack-C7U3Y3VMY.
Props to @danieldudzic for discovering the discrepancy!
Screenshots
How to test the changes in this Pull Request:
composer install
command which will generate a/vendor
folder in the root directory.npm run build
and confirm thestorefront.zip
file is generated./vendor
folder present in the root directory of the theme.Changelog