Hey guys!
This is my first Netlify / Serverless project and I am a noob programmer
I just want to double-check if I did things the right way.
I run a static site with a newsletter sign-up form and therefore needed to create a netlify.toml file.
My site is: https://objective-davinci-c48e38.netlify.app/
I created a react app using npx create-react-app.
My folder structure and my netlify.toml file look like this:
My Netlify Build Settings look like this:
Base directory
Not set
Build command
npm run build
Publish directory
build/
Builds
Active
The tutorial I have followed to create my sign-up form has used publish = "dist"
, which has caused my build to fail.
I went ahead and changed it to publish = "build/"
and that has worked for me.
I just want to see if I do this correctly.
Thanks a lot for the help