Created
May 5, 2020 07:28
-
-
Save praveev/a1595506c8ff571701395a70b9fd04a5 to your computer and use it in GitHub Desktop.
netlify toml
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Settings in the [build] context are global and are applied to all contexts | |
# unless otherwise overridden by more specific contexts. | |
[build] | |
# Directory to change to before starting a build. | |
# This is where we will look for package.json/.nvmrc/etc. | |
base = "" | |
# Directory (relative to root of your repo) that contains the deploy-ready | |
# HTML files and assets generated by the build. If a base directory has | |
# been specified, include it in the publish directory path. | |
publish = "dist/" | |
# Default build command. | |
command = "yarn build" | |
# Directory with the serverless Lambda functions to deploy to AWS. | |
functions = "functions/" | |
[dev] | |
framework = "#auto" | |
command = "yarn start" # Command to start your dev server | |
functions = "functions/" | |
# Redirects and headers are GLOBAL for all builds – they do not get scoped to | |
# contexts no matter where you define them in the file. | |
# For context-specific rules, use _headers or _redirects files, which are | |
# PER-DEPLOY. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment