Sets YARN_FLAGS in Netlify config

This commit is contained in:
Alicia Sykes 2024-03-04 13:58:00 +00:00
parent 08e6bc6c27
commit da12eb65a0
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
command = "yarn build"
publish = "dist"
functions = "services/serverless-functions"
environment = { NODE_VERSION = "20.11.1", NODE_OPTIONS = "--openssl-legacy-provider" }
environment = { NODE_VERSION = "20.11.1", NODE_OPTIONS = "--openssl-legacy-provider", YARN_FLAGS = "--ignore-engines" }
# Site info, used for the 1-Click deploy page
[template.environment]