Skip to content

Commit 14c2991

Browse files
committed
Update package.json
Support user nodejs 18
1 parent 0182afd commit 14c2991

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@
99
"displayName": "PT 助手 Plus",
1010
"homepage": "https://github.com/ronggang/PT-Plugin-Plus",
1111
"scripts": {
12-
"serve": "vue-cli-service serve --mode=test",
13-
"build": "yarn build:index && yarn build:background && yarn build:content && yarn resource",
12+
"serve": "set NODE_OPTIONS=--openssl-legacy-provider & vue-cli-service serve --mode=test",
13+
"build": "set NODE_OPTIONS=--openssl-legacy-provider & yarn build:index && yarn build:background && yarn build:content && yarn resource",
1414
"lint": "vue-cli-service lint",
1515
"background": "webpack --config webpack/prod-background.js && webpack --config webpack/prod-content.js",
1616
"dev": "yarn dev:index && yarn dev:background && yarn dev:content && yarn resource",

0 commit comments

Comments
 (0)