Browse Source

change build scripts

tigger 1 year ago
parent
commit
1d3a7eff8b
1 changed files with 3 additions and 2 deletions
  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"
   },