developit / microbundle

📦 Zero-configuration bundler for tiny modules.
https://npm.im/microbundle
MIT License
8.03k stars 362 forks source link

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

Closed rschristian closed 2 years ago

rschristian commented 2 years ago

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[bot] commented 2 years ago

🦋 Changeset detected

Latest commit: e9812895fcfb4ebf1aef5e5d810684c78e303c6e

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