2
0
mirror of https://github.com/frappe/frappe_docker.git synced 2024-12-25 11:20:02 +00:00

fix: add node-sass to nodejs dependencies after prod install

This commit is contained in:
Revant Nandgaonkar 2020-08-06 19:30:27 +05:30
parent 0d9aa27f5f
commit a7cd40a2b7

View File

@ -10,8 +10,6 @@ yarn
yarn run production yarn run production
# Remove this after python container starts using node command # Remove this after python container starts using node command
yarn add nunjucks -D 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 if [[ "$GIT_BRANCH" =~ ^(version-12|version-11)$ ]]; then
nodeCleanUp nodeCleanUp
@ -23,4 +21,6 @@ else
/home/frappe/frappe-bench/sites/assets/css/standard_style.css \ /home/frappe/frappe-bench/sites/assets/css/standard_style.css \
"$(cat /home/frappe/standard_templates_string)" "$(cat /home/frappe/standard_templates_string)"
nodeCleanUp nodeCleanUp
# remove this when frappe framework moves this to dependencies from devDependencies
yarn add node-sass
fi fi