فهرست منبع

Added minification to web compile script (#631)

Miguel Serrano 7 سال پیش
والد
کامیت
34b01f94e4
1فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. 1 0
      server-ce/bin/compile-services

+ 1 - 0
server-ce/bin/compile-services

@@ -11,6 +11,7 @@ grep 'name:' config/services.js | \
 		case $service in 
 		case $service in 
 			web)
 			web)
 				make compile_full
 				make compile_full
+				WEBPACK_ENV=production make minify
 				;;
 				;;
 			chat)
 			chat)
 				echo "$service doesn't require a compilation"
 				echo "$service doesn't require a compilation"