Skip to content

Instantly share code, notes, and snippets.

@sanampatel
Last active July 26, 2019 16:31
Show Gist options
  • Select an option

  • Save sanampatel/ef286ef9fc22f5490872041b48b4a1a8 to your computer and use it in GitHub Desktop.

Select an option

Save sanampatel/ef286ef9fc22f5490872041b48b4a1a8 to your computer and use it in GitHub Desktop.
netlify.toml file configuration for Jigsaw production publish on Netlify without npm
[build]
command = "./vendor/bin/jigsaw build production"
publish = "build_production"
[build.environment]
PHP_VERSION=7.2
# Just use major releases like 7.1, 7.2, 7.3
# Do not use versions such a 7.2.2 or etc
# For redirecting netlify url to own url
#[[redirects]]
# from = "https://somenetlifysite.netlify.com"
# to = "https://mycustomdomain.com"
# status = 200
# force = true
# Notes
# You can use npm run production but
# it's take too much time and break now
# on then with jigsaw, so if you are not
# compiling any assets or not using any
# css prepocesspr then go with this one
# Faster and process all blade files
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment