fix(package.json): 添加 NODE_OPTIONS 环境变量以解决构建问题
Showing
with
3 additions
and
3 deletions
... | ... | @@ -3,9 +3,9 @@ |
"version": "0.1.0", | ||
"private": true, | ||
"scripts": { | ||
"dev": "vue-cli-service serve", | ||
"build-test": "vue-cli-service build --mode test", | ||
"build": "vue-cli-service build" | ||
"dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", | ||
"build-test": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --mode test", | ||
"build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build" | ||
}, | ||
"dependencies": { | ||
"axios": "^0.21.1", | ||
... | ... |
Please
register
or
sign in
to comment