Skip to content

Commit

Permalink
increase vscode build memory?
Browse files Browse the repository at this point in the history
  • Loading branch information
Loïc Mangeonjean committed Sep 15, 2023
1 parent 31f03c6 commit c4a7368
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install-vscode
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ mkdir -p $output_directory
echo $vscodeRef > $version_info

echo "Building vscode..."
npx tsc --declaration --importHelpers --module es2020 --preserveConstEnums --outDir "$output_directory/vs"
NODE_OPTIONS=--max-old-space-size=8192 npx tsc --declaration --importHelpers --module es2020 --preserveConstEnums --outDir "$output_directory/vs"
# Copy files that are already built
find ./vs \( -name '*.js' -o -name '*.d.ts' -o -name '*.css' -o -name '*.mp3' -o -name '*.svg' -o -name '*.html' \) -exec rsync -R \{\} "$output_directory/" \;

Expand Down

0 comments on commit c4a7368

Please sign in to comment.