瀏覽代碼

configure build script

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

+ 1 - 1
package.json

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