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

fix: tsconfig cwd differing from microbundle's cwd #941

Merged
merged 2 commits into from Apr 20, 2022

Conversation

rschristian
Copy link
Collaborator

@rschristian rschristian commented Mar 25, 2022

Closes #939

Simply ensures the TS plugin will begin its search for a tsconfig.json in the specified --cwd.

This is not a breaking change; in the case of a tsconfig.json only existing higher in a project structure, and not in the passed --cwd, rpt2 (which makes use of typescript itself, actually) will ascend the file tree attempting to discover a config file.

@changeset-bot
Copy link

changeset-bot bot commented Mar 25, 2022

🦋 Changeset detected

Latest commit: e981289

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
microbundle Patch

Not sure what this means? Click here to learn what changesets are.

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

Copy link
Owner

@developit developit left a comment

Choose a reason for hiding this comment

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

Awesome.

@rschristian rschristian changed the title Fix/tsconfig cwd fix: tsconfig cwd differing from microbundle's cwd Apr 18, 2022
@rschristian rschristian merged commit 1d0e305 into master Apr 20, 2022
@rschristian rschristian deleted the fix/tsconfig-cwd branch April 20, 2022 20:15
@preact-bot preact-bot mentioned this pull request Apr 20, 2022
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.

--cwd and --tsconfig
2 participants