Skip to content

Custom build command #112

Answered by ElMassimo
xxSkyy asked this question in Q&A
Aug 5, 2021 · 1 comments · 7 replies
Discussion options

You must be logged in to vote

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 your config/vite.json to use a different executable (for example, one that executes vite after setting NODE_OPTIONS).

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@xxSkyy
Comment options

@ElMassimo
Comment options

@xxSkyy
Comment options

@ElMassimo
Comment options

@ElMassimo
Comment options

Answer selected by ElMassimo
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #111 on August 05, 2021 19:39.