Skip to content

Commit

Permalink
Update netlify.toml to skip composer install in production environment
Browse files Browse the repository at this point in the history
  • Loading branch information
Thavarshan committed Sep 30, 2024
1 parent c54611e commit a82d866
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,7 @@
publish = "docs/.vitepress/dist"

[context.production.environment]
NODE_VERSION = "18" # Specify the Node.js version, if needed

# Ensure that only npm is used for installing dependencies
[build.environment]
NPM_FLAGS = "--ignore-scripts" # Optional: Add any npm flags if needed
NETLIFY_SKIP_COMPOSER_INSTALL = "true"

[[redirects]]
from = "/*"
Expand Down

0 comments on commit a82d866

Please sign in to comment.