Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2022
32
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.18 KB | None | 0 0
  1. # Settings in the [build] context are global and are applied to
  2. # all contexts unless otherwise overridden by more specific contexts.
  3. [build]
  4.  
  5. # Specific branch context: all deploys from
  6. # this specific branch will inherit these settings.
  7. [context.trunk] # trunk is a branch name
  8.  
  9. # Directory to change to before starting a build.
  10. # This is where we will look for package.json/.nvmrc/etc.
  11. # If not set, defaults to the root directory.
  12. base = ""
  13.  
  14. # Directory that contains the deploy-ready HTML files and
  15. # assets generated by the build. This is relative to the base
  16. # directory if one has been set, or the root directory if
  17. # a base has not been set. This sample publishes the directory
  18. # located at the absolute path "root/project/build-output"
  19.  
  20. publish = "public/"
  21.  
  22. # Default build command.
  23. 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).'"
  24.  
  25. [[plugins]]
  26. # Installs the Lighthouse Build Plugin for all deploy contexts
  27. package = "@netlify/plugin-lighthouse"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement