diff --git a/docs/introduction.md b/docs/introduction.md index 0ad8227..7334fa1 100644 --- a/docs/introduction.md +++ b/docs/introduction.md @@ -19,7 +19,7 @@ The `` component bundles your import on the fly using [Bun](https:// {: .note } -> `` Bahaves like a script tag. You may pass any attributes a script tag would accept, like `defer` or `async` +> You may pass any attributes a script tag would accept, like `defer` or `async`
diff --git a/docs/production-builds.md b/docs/production-builds.md index 195636b..70570ff 100644 --- a/docs/production-builds.md +++ b/docs/production-builds.md @@ -22,3 +22,9 @@ You can control which paths are scanned by publishing the Bundle config file and > In production the `BUNDLE_CACHING_ENABLED` env variable needs to be set to `true`. When the variable is not set Bundle will automatically enable this option in production environments. Furthermore it is recommended to cache your blade views on the server by running `php artisan view:cache` in your deploy script. + +--- + +If a import somehow was deleted from storage on your production server, Bundle will try to bundle the script on the fly. + +This failover system won't work on environments without a writable storage path (Like Vapor or other serverless setups) since Bun requires us to write a temporary file on the same disk Bun is invoked from.