Skip to content

Commit

Permalink
update readme
Browse files Browse the repository at this point in the history
  • Loading branch information
gwleuverink committed Jan 9, 2024
1 parent 3055184 commit 780c9f2
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,8 @@ Eventhough Bun is very fast, since Bundle transpiles & bundles your imports on t

You may run `php artisan bundle:build` to bundle all your imports beforehand. These will be added to your `storage/app/bundle` directory, make sure to add those to vsc or otherwise build them in CI before deployment.

Furthermore it is reccomended to cache your blade views on the server by running `php artisan view:cache` in your deploy script.

**Prevent Bundle from loading the same import multiple times**

Bundle uses laravel's `@once` direcive internally, so you don't have to worry about loading the same import more than once.
Expand Down
2 changes: 2 additions & 0 deletions docs/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ Eventhough Bun is very fast, since Bundle transpiles & bundles your imports on t

You may run `php artisan bundle:build` to bundle all your imports beforehand. These will be added to your `storage/app/bundle` directory, make sure to add those to vsc or otherwise build them in CI before deployment.

Furthermore it is reccomended to cache your blade views on the server by running `php artisan view:cache` in your deploy script.

**Prevent Bundle from loading the same import multiple times**

Bundle uses laravel's `@once` direcive internally, so you don't have to worry about loading the same import more than once.
Expand Down

0 comments on commit 780c9f2

Please sign in to comment.