Skip to content

Commit 1bda030

Browse files
committed
adding a netlify.toml file for the "deploy to netlify" button
1 parent 1755c48 commit 1bda030

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Diff for: netlify.toml

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# Settings in the [build] context are global and are applied to all contexts
2+
# unless otherwise overridden by more specific contexts.
3+
[build]
4+
# Directory to change to before starting a build.
5+
# This is where we will look for package.json/.nvmrc/etc.
6+
# If not set, defaults to the root directory.
7+
base = ""
8+
9+
# Directory that contains the deploy-ready HTML files and assets generated by
10+
# the build. This is relative to the base directory if one has been set, or the
11+
# root directory if a base has not been set. This sample publishes the
12+
# directory located at the absolute path "root/project/build-output"
13+
publish = "public/"
14+
15+
# Default build command.
16+
command = "npm run build"

0 commit comments

Comments
 (0)