-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnode_options.patch
16 lines (16 loc) · 1.44 KB
/
node_options.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
diff --git a/package.json b/package.json
index 6be1cb1d4..97c8a0d7e 100644
--- a/package.json
+++ b/package.json
@@ -17,9 +17,9 @@
"start": "cross-env NODE_ENV=development ts-node -P script/tsconfig.json script/start.ts",
"start:prod": "cross-env NODE_ENV=production ts-node -P script/tsconfig.json script/start.ts",
"compile:dev": "cross-env NODE_ENV=development TS_NODE_PROJECT=script/tsconfig.json parallel-webpack --config app/webpack.development.ts",
- "compile:prod": "cross-env NODE_ENV=production TS_NODE_PROJECT=script/tsconfig.json NODE_OPTIONS='--max_old_space_size=4096' parallel-webpack --config app/webpack.production.ts",
+ "compile:prod": "cross-env NODE_ENV=production TS_NODE_PROJECT=script/tsconfig.json NODE_OPTIONS='--max_old_space_size=4096 --openssl-legacy-provider' parallel-webpack --config app/webpack.production.ts",
"build:dev": "yarn compile:dev && cross-env NODE_ENV=development ts-node -P script/tsconfig.json script/build.ts",
- "build:prod": "yarn compile:prod && cross-env NODE_ENV=production ts-node -P script/tsconfig.json script/build.ts",
+ "build:prod": "yarn compile:prod && cross-env NODE_OPTIONS=--openssl-legacy-provider NODE_ENV=production ts-node -P script/tsconfig.json script/build.ts",
"package": "ts-node -P script/tsconfig.json script/package.ts",
"generate-octicons": "ts-node -P script/tsconfig.json script/generate-octicons.ts",
"compile:script": "tsc -P script/tsconfig.json",