瀏覽代碼

added build:prod script
added production build script

tigger 1 年之前
父節點
當前提交
049975f027
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      package.json

+ 1 - 0
package.json

@@ -5,6 +5,7 @@
     "ng": "ng",
     "start": "ng serve --host 0.0.0.0 --port 4200",
     "build": "ng build --base-href /next/ --aot --delete-output-path",
+    "build:prod": "ng build --configuration production --base-href /next/ --aot --delete-output-path",
     "watch": "ng build --watch --configuration development",
     "test": "ng test"
   },