Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Settings in the [build] context are global and are applied to
- # all contexts unless otherwise overridden by more specific contexts.
- [build]
- # Specific branch context: all deploys from
- # this specific branch will inherit these settings.
- [context.trunk] # trunk is a branch name
- # Directory to change to before starting a build.
- # This is where we will look for package.json/.nvmrc/etc.
- # If not set, defaults to the root directory.
- base = ""
- # Directory that contains the deploy-ready HTML files and
- # assets generated by the build. This is relative to the base
- # directory if one has been set, or the root directory if
- # a base has not been set. This sample publishes the directory
- # located at the absolute path "root/project/build-output"
- publish = "public/"
- # Default build command.
- command = "echo 'Compressing certain file types, which are located in the public folder...' && find public -type f -regex '.*\.\(htm\|html\|txt\|text\|js\|css\|svg\)$' -print0 -exec gzip -f -kv -6 {} \; && echo 'Finished compressing file(s).'"
- [[plugins]]
- # Installs the Lighthouse Build Plugin for all deploy contexts
- package = "@netlify/plugin-lighthouse"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement