chore: release 1.6.0 (#2113)
This commit is contained in:
@@ -15,6 +15,9 @@ static file and can serve it immediately without any further processing. On
|
||||
pages with islands, having to do no processing greatly speeds up page load
|
||||
times.
|
||||
|
||||
Plugins can build static assets during ahead-of-time builds. This can be used to
|
||||
preprocess or generate CSS files, for example.
|
||||
|
||||
## Creating an optimized build
|
||||
|
||||
To have Fresh optimize all the assets, run one of the following commands:
|
||||
@@ -30,6 +33,10 @@ This will create a `_fresh` folder in the project directory. That folder
|
||||
contains the optimized assets and a `snapshot.json` file which includes some
|
||||
metadata for Fresh.
|
||||
|
||||
Any other static files generated by plugins will be stored in the
|
||||
`_fresh/static` subfolder. They will be served the same as other
|
||||
[static files](/docs/concepts/static-files.md).
|
||||
|
||||
> [info]: The `_fresh` folder should not be committed to the repository. Add an
|
||||
> entry in the `.gitignore` file to ensure that it is not committed. Create that
|
||||
> file at the root of your git repository if not present.
|
||||
|
||||
Reference in New Issue
Block a user