Skip to content

Conversation

bradleyayers
Copy link

Initial checklist

  • I read the support docs
  • I read the contributing guide
  • I agree to follow the code of conduct
  • I searched issues and discussions and couldn’t find anything or linked relevant results below
  • I made sure the docs are up to date
  • I included tests (or that’s not needed)

Description of changes

When a project is configured with its tsconfig pointing to a directory rather than a file, it needs to be resolved to a file before trying to read the contents of the file.

Fixes #481.

I've raised this as an upstream issue too via
volarjs/volar.js#283.

When a project is configured with its tsconfig pointing to a directory
rather than a file, it needs to be resolved to a file before trying to
read the contents of the file.

Fixes mdx-js#481.

I've raised this as an upstream issue too via
volarjs/volar.js#283.
Copy link

changeset-bot bot commented Jul 30, 2025

⚠️ No Changeset found

Latest commit: deacb61

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions github-actions bot added the 👋 phase/new Post is being triaged automatically label Jul 30, 2025
Copy link
Contributor

Hi! It seems some of the things asked in the template are missing? Please edit your post to fill out everything.

  • Initial checklist (todo)
  • Description of changes

You won’t get any more notifications from me, but I’ll keep on updating this comment, and remove it when done!

If you need it, here’s the original template
<!--
  Please check the needed checkboxes ([ ] -> [x]).
  Leave the comments as they are: they do not show on GitHub.

  Please try to limit the scope,
  provide a general description of the changes,
  and remember it’s up to you to convince us to land it.

  We are excited about pull requests.
  Thank you!
-->

### Initial checklist

* [ ] I read the support docs <!-- https://mdxjs.com/community/support/ -->
* [ ] I read the contributing guide <!-- https://mdxjs.com/community/contribute/ -->
* [ ] I agree to follow the code of conduct <!-- https://github.com/mdx-js/.github/blob/main/code-of-conduct.md -->
* [ ] I searched issues and discussions and couldn’t find anything or linked relevant results below <!-- https://github.com/search?q=user%3Amdx-js&type=issues and https://github.com/orgs/mdx-js/discussions -->
* [ ] I made sure the docs are up to date
* [ ] I included tests (or that’s not needed)

### Description of changes

TODO

<!--do not edit: pr-->

Thanks,
— bb

@bradleyayers bradleyayers mentioned this pull request Jul 30, 2025
4 tasks
@johnsoncodehk
Copy link
Contributor

This issue needs to be fixed upstream, on the other hand if #512 is completed then this issue will no longer need to be dealt with.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
👋 phase/new Post is being triaged automatically
Development

Successfully merging this pull request may close these issues.

Crash in VS Code
2 participants