Explorar el Código

fix: 打包测试

wzyyy hace 2 años
padre
commit
f0a636bfc7
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      package.json

+ 1 - 1
package.json

@@ -5,7 +5,7 @@
   "description": "An out-of-box UI solution for enterprise applications",
   "description": "An out-of-box UI solution for enterprise applications",
   "scripts": {
   "scripts": {
     "analyze": "cross-env ANALYZE=1 umi build",
     "analyze": "cross-env ANALYZE=1 umi build",
-    "build": "cross-env BROWSERSLIST_IGNORE_OLD_DATA=1 umi build",
+    "build": "SET NODE_OPTIONS=--openssl-legacy-provider && umi build",
     "deploy": "npm run build && npm run gh-pages",
     "deploy": "npm run build && npm run gh-pages",
     "dev": "npm run start:dev",
     "dev": "npm run start:dev",
     "docker-hub:build": "docker build  -f Dockerfile.hub -t  jetlinks ./",
     "docker-hub:build": "docker build  -f Dockerfile.hub -t  jetlinks ./",