Sfoglia il codice sorgente

Added webpack compilation scripts (#651)

Miguel Serrano 6 anni fa
parent
commit
f9b00c3dfa
1 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  1. 2 1
      bin/compile-services

+ 2 - 1
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"