Repository navigation
fix: preserve Laravel Vite configuration in Docker presets - #544
Merged
Merged
Conversation
Member
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes #486.
Laravel's current 13.x and 12.x configs already configure their Vite plugins. Kool's replacement drops Tailwind, font loading, watcher settings, and user customizations.
devcommand:--host 0.0.0.0 --port 3001 --strictPort. Keep the existing port mapping.Browser-checked Laravel 12/Octane and fresh Laravel 13: Tailwind styling is restored; Laravel 13's upstream fonts and HMR work with npm, Yarn, and Bun. Smoke tests used alternate free ports; switching the shared test project to Bun required clearing/fixing existing root-owned Vite caches. Go tests, preset race tests, and lint pass.
Existing projects: restore any Vite config overwritten by an older preset from version control or
vite.config.js.bak.*before reapplying. This change does not reconstruct a previously overwritten config.