Skip to content

Commit

Permalink
feat(shopware/storefront): compile only active themes
Browse files Browse the repository at this point in the history
  • Loading branch information
shyim committed Nov 20, 2023
1 parent 92c5192 commit 37fe3e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion shopware/storefront/6.6/bin/build-storefront.sh
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,4 @@ npm --prefix "${STOREFRONT_ROOT}"/Resources/app/storefront install --no-audit --
node "${STOREFRONT_ROOT}"/Resources/app/storefront/copy-to-vendor.js
npm --prefix "${STOREFRONT_ROOT}"/Resources/app/storefront run production
[[ ${SHOPWARE_SKIP_ASSET_COPY-""} ]] ||"${BIN_TOOL}" assets:install
[[ ${SHOPWARE_SKIP_THEME_COMPILE-""} ]] || "${BIN_TOOL}" theme:compile
[[ ${SHOPWARE_SKIP_THEME_COMPILE-""} ]] || "${BIN_TOOL}" theme:compile --active-only
2 changes: 1 addition & 1 deletion shopware/storefront/6.6/bin/watch-storefront.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export STOREFRONT_ASSETS_PORT
export STOREFRONT_PROXY_PORT

DATABASE_URL="" "${CWD}"/console feature:dump
"${CWD}"/console theme:compile
"${CWD}"/console theme:compile --active-only
"${CWD}"/console theme:dump

if [[ $(command -v jq) ]]; then
Expand Down

0 comments on commit 37fe3e3

Please sign in to comment.