File tree Expand file tree Collapse file tree 1 file changed +0
-20
lines changed
codeserver/ubi9-python-3.12 Expand file tree Collapse file tree 1 file changed +0
-20
lines changed Original file line number Diff line number Diff line change @@ -61,29 +61,9 @@ if [[ "$ARCH" == "amd64" || "$ARCH" == "arm64" ||"$ARCH" == "ppc64le" ]]; then
61
61
cd code-server
62
62
source ${NVM_DIR} /nvm.sh
63
63
while IFS= read -r src_patch; do echo " patches/$src_patch " ; patch -p1 < " patches/$src_patch " ; done < patches/series
64
- # https://github.com/microsoft/vscode/issues/243708#issuecomment-2750733077
65
- patch -p1 << 'EOF '
66
- diff --git i/package.json w/package.json
67
- index 925462fb087..dfff96eb051 100644
68
- --- code-server.orig/lib/vscode/package.json
69
- +++ code-server/lib/vscode/package.json
70
- @@ -32,7 +32,7 @@
71
- "watch-extensionsd": "deemon npm run watch-extensions",
72
- "kill-watch-extensionsd": "deemon --kill npm run watch-extensions",
73
- "precommit": "node build/hygiene.js",
74
- - "gulp": "node --max-old-space-size=8192 ./node_modules/gulp/bin/gulp.js",
75
- + "gulp": "node --max-old-space-size=16384 --optimize-for-size ./node_modules/gulp/bin/gulp.js",
76
- "electron": "node build/lib/electron",
77
- "7z": "7z",
78
- "update-grammars": "node build/npm/update-all-grammars.mjs",
79
- EOF
80
64
nvm use ${NODE_VERSION}
81
65
npm install
82
66
npm run build
83
- # https://github.com/coder/code-server/pull/7418
84
- # node: --optimize-for-size is not allowed in NODE_OPTIONS
85
- export NODE_OPTIONS=" --max-old-space-size=16384"
86
- export TERSER_PARALLEL=2
87
67
VERSION=${CODESERVER_VERSION/ v/ } npm run build:vscode
88
68
npm run release
89
69
npm run release:standalone
You can’t perform that action at this time.
0 commit comments