Explorar el Código

更新 'package.json'

sifu-gogs hace 2 años
padre
commit
abf2e8fe92
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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"