瀏覽代碼

change build scripts

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

+ 3 - 2
package.json

@@ -4,8 +4,9 @@
   "scripts": {
     "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",
+    "build": "ng build --aot --delete-output-path",
+    "build:next": "ng build --base-href /next/ --aot --delete-output-path",
+    "build:prod": "ng build --configuration production --aot --delete-output-path",
     "watch": "ng build --watch --configuration development",
     "test": "ng test"
   },