Skip to content

Fix errors thrown by detecting content files with oxide (#942) #945

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

Merged
merged 6 commits into from
Apr 4, 2024

Conversation

hampustagerud
Copy link
Contributor

@hampustagerud hampustagerud commented Apr 3, 2024

I had the same problem as described in #942, which seem to have been closed preemptively 🙂 By adding oxide as a devDependency and then checking the import with a type guard we get an error that explains the issue:

Screenshot 2024-04-03 at 21 43 10

So by ignoring the globs when creating the DocumentSelectors, normalizePath no longer throws and the server starts up properly in a fresh v4 setup 👍

@thecrypticace
Copy link
Contributor

thecrypticace commented Apr 4, 2024

Ah right the types (and returned data) changed here at some point during development. I'll get this fixed up and merged in today.

@thecrypticace thecrypticace merged commit 48056f2 into tailwindlabs:master Apr 4, 2024
@thecrypticace
Copy link
Contributor

Thanks!

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