Static assets example
Serve files from the public directory with the generated static site.
Static assets example#
Files in public/ are copied to the root of dist/ during preactpress build.
This starter includes /preactpress-example.txt as a tiny public asset. Use this pattern for robots.txt overrides, downloads, images, and other files that should keep a stable URL.