Selaa lähdekoodia

增加打包时前缘。

wukai 10 kuukautta sitten
vanhempi
commit
c6ef86ff84
1 muutettua tiedostoa jossa 4 lisäystä ja 3 poistoa
  1. 4 3
      src/main/angular/package.json

+ 4 - 3
src/main/angular/package.json

@@ -4,12 +4,13 @@
   "license": "MIT",
   "scripts": {
     "ng": "ng",
-    "start": "export NODE_OPTIONS=--openssl-legacy-provider && ng serve pinpoint",
+    "start": "ng serve pinpoint",
+    "start:local": "SET NODE_OPTIONS=--openssl-legacy-provider && ng serve pinpoint",
     "start:real": "ng serve pinpoint --prod",
     "build": "ng build pinpoint",
-    "build:real": "ng build pinpoint --prod",
+    "build:real": "ng build pinpoint --prod --base-href=/pxf-pp-jy/",
     "build:watch": "ng build pinpoint --watch",
-    "build:forProxy": "ng build pinpoint --outputPath='./dist' --watch",
+    "build:forProxy": "SET NODE_OPTIONS=--openssl-legacy-provider && ng build pinpoint --outputPath=dist --prod",
     "test": "ng test pinpoint",
     "lint": "ng lint pinpoint --type-check",
     "e2e": "ng e2e pinpoint",