[build]
command = "npm run build"
# If we wanted to publish `docs` as well as `web`, we'd need to have netlify.toml
# files in each project folder.
# See https://docs.netlify.com/configure-builds/monorepos/#build-multiple-sites-from-a-monorepo
publish = "apps/web/.next"

[dev]
command = "npm run dev"

[[plugins]]
package = "@netlify/plugin-nextjs"

# This is a fake plugin, that makes it run npm install
[[plugins]]
package = "@netlify/plugin-local-install-core"

[[plugins]]
package = "../plugin-wrapper"

[[edge_functions]]
path = "/edge"
function = "edge"
