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

Added configuration code that scours file path/tree for .swcrc file #9

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

jglanz
Copy link

@jglanz jglanz commented Nov 19, 2024

Added configuration code that scours file path/tree for .swcrc file

If it finds one then it loads that file from disk and takes precedence over the code config.

The simplest/clearest reason for this is swc config breaking changes, for instance, I received this error (swc error env and jsc.target cannot be used together), which triggered this idea (and is resolved with this feature)

…g directory tree for an `.swcrc` config file.

If it finds one then it loads that file from disk and takes precidence over the code config
@valentinpalkovic
Copy link
Contributor

Hi @jglanz

Thank you for your contribution!

Do you think this change is a breaking change and should hence be released as a major version?

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