Skip to content
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

[1.x] Fix Vite Hot File Detection #35

Merged
merged 5 commits into from
Feb 23, 2025
Merged

[1.x] Fix Vite Hot File Detection #35

merged 5 commits into from
Feb 23, 2025

Conversation

adrum
Copy link
Contributor

@adrum adrum commented Feb 15, 2025

While building out #34, I noticed my Vite HMR wasn't working. While this could be fixed in the vite.config.js, I think the software should work correctly with the updated examples in #31.

This splits out fetching the public path and the build path into two separate functions. Only hot file detection utilizes the new public path, while the rest of the references are updated to fetch the build path. Effectively, this only changes the hot file path detection.

To be merged after #34.

@adrum adrum changed the base branch from main to v1 February 15, 2025 17:20
@adrum adrum marked this pull request as draft February 15, 2025 17:21
@kapi2289 kapi2289 marked this pull request as ready for review February 23, 2025 21:02
# Conflicts:
#	InertiaCore/Extensions/Configure.cs
#	InertiaCore/Utils/Vite.cs
#	InertiaCoreTests/UnitTestVite.cs
@kapi2289 kapi2289 merged commit 5a1c858 into kapi2289:v1 Feb 23, 2025
1 check passed
@kapi2289 kapi2289 added this to the v1.0.0 milestone Feb 23, 2025
@adrum adrum deleted the fix/hot branch March 2, 2025 16:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants