Просмотр исходного кода

Added webpack compilation scripts (#651)

Miguel Serrano 7 лет назад
Родитель
Сommit
472581d714
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      server-ce/bin/compile-services

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

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