"scripts": {
"serve": "uni",
"build": "uni build",
"build-test": "cross-env NODE_ENV=test uni build"
},
我使用了cross-env设置为test,但是编译的时候还是为production
"scripts": {
"serve": "uni",
"build": "uni build",
"build-test": "cross-env NODE_ENV=test uni build"
},
我使用了cross-env设置为test,但是编译的时候还是为production
0 个回复