-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Output assets to _astro
directory
#5772
Conversation
|
1f00714
to
bef99be
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left some docs suggestions, but looks good! We don’t have any more detailed docs on build output currently but eventually it might make sense to mention this as part of the deployment guides or something. Maybe something like this:
Static assets will be built to
/_astro/
by default (configurable using thebuild.assets
option), so that directory can be safely cached immutably if your deployment platform supports it.
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Co-authored-by: Chris Swithinbank <swithinbank@gmail.com>
Changes
assets/
to_astro
Testing
E2E tests added to verify the build output and
build.assets
configurationDocs
Guidance wanted!