File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -220,7 +220,7 @@ return [
220220 ],
221221
222222 // Modulepreload support for faster loading (production only)
223- // Options: 'none', 'link-tag', 'link-header'
223+ // Options: 'none', 'link-tag'
224224 'preload' => env('VITE_PRELOAD_MODE', 'link-tag'),
225225
226226 // Persistent caching (production performance optimization)
@@ -523,7 +523,7 @@ $this->Vite->script([
523523// config/app_vite.php
524524return [
525525 'CakeVite' => [
526- // Options: 'none', 'link-tag', 'link-header'
526+ // Options: 'none', 'link-tag'
527527 'preload' => 'none', // Disable preloading globally
528528 ],
529529];
@@ -532,7 +532,7 @@ return [
532532** Environment Variable:**
533533``` bash
534534# .env
535- VITE_PRELOAD_MODE=none # or 'link-tag', 'link-header'
535+ VITE_PRELOAD_MODE=none # or 'link-tag'
536536```
537537
538538> [ !NOTE]
You can’t perform that action at this time.
0 commit comments