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

chore: Update docs for TS 5 presets #9025

Merged
merged 3 commits into from
Nov 9, 2023
Merged

Conversation

bennycode
Copy link
Contributor

Changes

My change updates the comment for the moduleResolution setting as this setting has been changed in #7785

The current comment says it enables "node-style module resolution" but the resolution value got changed from node to Bundler and the TypeScript's moduleResolution documentation says that this change has a major difference which I think is worth being mentioned:

unlike the Node.js resolution modes, bundler never requires file extensions on relative paths in imports

Testing

It's only updating the comment, no behaviour change gets introduced.

Docs

/cc @withastro/maintainers-docs for feedback!

Copy link

changeset-bot bot commented Nov 8, 2023

⚠️ No Changeset found

Latest commit: ea0cb9c

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.

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 pkg: astro Related to the core `astro` package (scope) label Nov 8, 2023
Copy link
Member

@natemoo-re natemoo-re left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sure, seems reasonable enough

@natemoo-re natemoo-re merged commit db4d0c1 into withastro:main Nov 9, 2023
13 checks passed
natemoo-re added a commit that referenced this pull request Nov 22, 2023
Co-authored-by: Nate Moore <natemoo-re@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
pkg: astro Related to the core `astro` package (scope)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants