Skip to content

Commit

Permalink
NTR: Fix build
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitalij Mik committed Dec 14, 2023
1 parent a0873c3 commit ad1b461
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/Resources/app/storefront/makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit ad1b461

Please sign in to comment.