Parcourir la source

更新 'package.json'

sifu-gogs il y a 2 ans
Parent
commit
abf2e8fe92
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -6,7 +6,7 @@
   "license": "MIT",
   "scripts": {
     "dev": "vue-cli-service serve",
-    "build:prod": "vue-cli-service build --openssl-legacy-provider",
+    "build:prod": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build",
     "build:stage": "vue-cli-service build --mode staging",
     "preview": "node build/index.js --preview",
     "lint": "eslint --ext .js,.vue src"