Skip to content

Commit

Permalink
Update netlify.toml
Browse files Browse the repository at this point in the history
  • Loading branch information
XYZ-thech authored Feb 22, 2025
1 parent 0ef5f27 commit a653bc2
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
[build]
base = "/" # Root directory
command = "pnpm build" # Build the functions
publish = "static" # Publish static files from the "static" directory
command = "pnpm install && pnpm run build"
publish = "."

[context.production.environment]
NODE_ENV = "production"
NODE_VERSION = "16" # Set to the Node version you need
PNPM_VERSION = "7" # Use the pnpm version you want

[[plugins]]
package = "@netlify/plugin-pnpm"

0 comments on commit a653bc2

Please sign in to comment.