dotfiles/zshrc: add NODE_OPTIONS
I need this so Angular applications like DSpace's frontend don't crash during build due to JavaScript heap memory.
This commit is contained in:
parent
6847354160
commit
0e7a2b7b1e
@ -59,6 +59,9 @@ if [[ "$OSTYPE" =~ ^linux.*$ ]]; then
|
||||
|
||||
# Don't show rtx version update warnings
|
||||
export RTX_HIDE_UPDATE_WARNING=1
|
||||
|
||||
# For dspace-angular Node.js build: JavaScript heap out of memory
|
||||
export NODE_OPTIONS=--max_old_space_size=4096
|
||||
fi
|
||||
|
||||
# Enable zsh completions for rtx version manager
|
||||
|
Loading…
Reference in New Issue
Block a user