From 412d806f480fe461ef26425225dff7a6e83960dc Mon Sep 17 00:00:00 2001 From: Usama Sadiq Date: Wed, 27 Nov 2024 19:31:40 +0500 Subject: [PATCH] fix: include webpack_config_path --- .../roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/playbooks/roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 b/playbooks/roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 index 69d1cced17b..28e980dc151 100644 --- a/playbooks/roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 +++ b/playbooks/roles/edxapp/templates/edx/bin/edxapp-update-assets.j2 @@ -5,6 +5,7 @@ sudo -E -H -u {{ edxapp_user }} \ env "PATH=$PATH" \ "STATICFILES_STORAGE={{ override }}" \ + "WEBPACK_CONFIG_PATH=webpack.prod.config.js" \ "STATIC_ROOT=/edx/var/edxapp/staticfiles" \ "STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles" \ "STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio" \ @@ -17,6 +18,7 @@ sudo -E -H -u {{ edxapp_user }} \ {% else %} sudo -E -H -u {{ edxapp_user }} \ env "PATH=$PATH" \ + "WEBPACK_CONFIG_PATH=webpack.prod.config.js" \ "STATIC_ROOT=/edx/var/edxapp/staticfiles" \ "STATIC_ROOT_LMS=/edx/var/edxapp/staticfiles" \ "STATIC_ROOT_CMS=/edx/var/edxapp/staticfiles/studio" \