# Global settings applied to the whole site. # # “base” is the directory to change to before starting build. If you set base: # that is where we will look for package.json/.nvmrc/etc, not repo root! # “command” is your build command. # “publish” is the directory to publish (relative to the root of your repo). [build] base = "client" command = "npm run build" publish = "client/dist" [[redirects]] from = "/js/script.js" to = "https://plausible.io/js/script.js" status = 200 force = true [[redirects]] from = "/api/event" to = "https://plausible.io/api/event" status = 200 force = true