diff --git a/makefile b/makefile index e5d53fc5e..ac75ca312 100644 --- a/makefile +++ b/makefile @@ -52,12 +52,12 @@ clean: ## Cleans all dependencies and files rm -rf ./src/Resources/public/molllie-payments.js build: ## Installs the plugin, and builds the artifacts using the Shopware build commands. - php switch-composer.php prod - cd ../../.. && export NODE_OPTIONS=--openssl-legacy-provider && shopware-cli extension build custom/plugins/MolliePayments - php switch-composer.php dev # ----------------------------------------------------- # CUSTOM WEBPACK cd ./src/Resources/app/storefront && make build -B + php switch-composer.php prod + cd ../../.. && export NODE_OPTIONS=--openssl-legacy-provider && shopware-cli extension build custom/plugins/MolliePayments + php switch-composer.php dev # ----------------------------------------------------- cd ../../.. && php bin/console --no-debug theme:refresh cd ../../.. && php bin/console --no-debug theme:compile diff --git a/src/Resources/app/storefront/makefile b/src/Resources/app/storefront/makefile index a91d63008..d7f6588ac 100644 --- a/src/Resources/app/storefront/makefile +++ b/src/Resources/app/storefront/makefile @@ -11,6 +11,5 @@ help: # ------------------------------------------------------------------------------------------------------------ build: ## Builds using webpack - npm update npx webpack build --config webpack.config.js cd /var/www/html && php bin/console assets:install