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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: allow providing an empty public output dir (close #161) #164

Merged
merged 3 commits into from
Dec 24, 2021

Conversation

ElMassimo
Copy link
Owner

@ElMassimo ElMassimo commented Dec 23, 2021

Description 馃摉

This pull request adds support for providing an empty publicOutputDir.

Background 馃摐

For a while, the dev server proxy relied on publicOutputDir as a "prefix" to detect requests for the Vite dev server.

Now that Vite has patched bugs related to HMR requests, the proxy can rely on file existence.

The Fix 馃敤

Avoid adding slashes manually, or rely on join from the Node standard library.

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.

None yet

1 participant