فهرست منبع

Added webpack compilation scripts (#651)

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

+ 2 - 1
bin/compile-services

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