-
Hi, on one of my low memory vps building with vite throws Are there option to customize build command on assets:precompile with properties like |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 7 replies
-
Hi Sky! @xxSkyy Setting the An alternative would be to customize |
Beta Was this translation helpful? Give feedback.
Hi Sky! @xxSkyy
Setting the
NODE_OPTIONS
environment variable to be globally available in the server that performs the assets precompilation should make it available in the Vite process as well.An alternative would be to customize
viteBinPath
in yourconfig/vite.json
to use a different executable (for example, one that executesvite
after settingNODE_OPTIONS
).