Skip to content

Commit

Permalink
Set delete vendor packages to true when building zips
Browse files Browse the repository at this point in the history
  • Loading branch information
oakesjosh committed Feb 22, 2024
1 parent 1f38b56 commit 38a08bf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .puprc
Original file line number Diff line number Diff line change
@@ -1,11 +1,13 @@
{
"build": [
"jq '.extra.strauss.delete_vendor_packages = true' composer.json > temp && mv temp composer.json",
"composer install --no-dev",
"npm install --legacy-peer-deps",
"npm run build",
"composer wp"
],
"build_dev": [
"jq '.extra.strauss.delete_vendor_packages = true' composer.json > temp && mv temp composer.json",
"composer install --no-dev",
"npm install --legacy-peer-deps",
"npm run build"
Expand Down

0 comments on commit 38a08bf

Please sign in to comment.