fix(netlify): Reduce build time now we are publishing required packages

This commit is contained in:
Bouncey
2018-10-05 10:51:18 +01:00
committed by Stuart Taylor
parent b38ee544a3
commit e34ff2e3ff

View File

@ -2,11 +2,11 @@
[build] [build]
# This is the directory to change to before starting a build. # This is the directory to change to before starting a build.
base = "/" base = "/client"
# NOTE: This is where we will look for package.json/.nvmrc/etc, not root. # NOTE: This is where we will look for package.json/.nvmrc/etc, not root.
# This is the directory that you are publishing from (relative to root of your repo) # This is the directory that you are publishing from (relative to root of your repo)
publish = "client/public/" publish = "client/public/"
# This will be your default build command # This will be your default build command
command = "npm run bootstrap && cd ./client && npm run build" command = "npm run build"
# This is where we will look for your lambda functions # This is where we will look for your lambda functions
#functions = "project/functions/" #functions = "project/functions/"