Commit 5f9c4ea7 by liangjianmin

fix(package.json): 添加 NODE_OPTIONS 环境变量以解决构建问题

parent 3741487c
Showing with 3 additions and 3 deletions
...@@ -3,9 +3,9 @@ ...@@ -3,9 +3,9 @@
"version": "0.1.0", "version": "0.1.0",
"private": true, "private": true,
"scripts": { "scripts": {
"dev": "vue-cli-service serve", "dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve",
"build-test": "vue-cli-service build --mode test", "build-test": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build --mode test",
"build": "vue-cli-service build" "build": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build"
}, },
"dependencies": { "dependencies": {
"axios": "^0.21.1", "axios": "^0.21.1",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment