Skip to content

Commit

Permalink
⚡ Neaten build environment options in Netlify config
Browse files Browse the repository at this point in the history
  • Loading branch information
Lissy93 committed Mar 4, 2024
1 parent da12eb6 commit 427e46a
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,12 @@
command = "yarn build"
publish = "dist"
functions = "services/serverless-functions"
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]
STATUSKIT_PAGE_TITLE = "Dashy"
STATUSKIT_COMPANY_LOGO = "https://raw.githubusercontent.com/Lissy93/dashy/master/docs/assets/logo.png"
STATUSKIT_SUPPORT_CONTACT_LINK = "https://github.com/lissy93/dashy"
STATUSKIT_RESOURCES_LINK = "https://dashy.to/docs"
# Environmental variables for build command
[build.environment]
NODE_VERSION = "20.11.1"
NODE_OPTIONS = "--openssl-legacy-provider"
YARN_FLAGS = "--ignore-engines"

# Redirect the Node endpoints to serverless functions
[[redirects]]
Expand Down

0 comments on commit 427e46a

Please sign in to comment.