From a7cd40a2b74b0c78dd5b5afdd6dba4fbe4630e81 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Thu, 6 Aug 2020 19:30:27 +0530 Subject: [PATCH] fix: add node-sass to nodejs dependencies after prod install --- build/frappe-nginx/build.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/frappe-nginx/build.sh b/build/frappe-nginx/build.sh index 5dbee8e9..0a1d52f5 100755 --- a/build/frappe-nginx/build.sh +++ b/build/frappe-nginx/build.sh @@ -10,8 +10,6 @@ yarn yarn run production # Remove this after python container starts using node command yarn add nunjucks -D -# remove this when frappe framework moves this to dependencies from devDependencies -yarn add node-sass if [[ "$GIT_BRANCH" =~ ^(version-12|version-11)$ ]]; then nodeCleanUp @@ -23,4 +21,6 @@ else /home/frappe/frappe-bench/sites/assets/css/standard_style.css \ "$(cat /home/frappe/standard_templates_string)" nodeCleanUp + # remove this when frappe framework moves this to dependencies from devDependencies + yarn add node-sass fi