-
Notifications
You must be signed in to change notification settings - Fork 23
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
feat(cli): Added cli-config-file option. #20
Conversation
🦋 Changeset detectedLatest commit: 25bf228 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
New and removed dependencies detected. Learn more about Socket for GitHub ↗︎
🚮 Removed packages: npm/commander@7.1.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Honestly I'm against this feature
That is totally legit, no problem. |
Ah, sorry. I thought you added fields to |
No worries, no issues at all. |
Can you fix CI? |
I tried on my Win machine and did not fail. Do you mind retrying here just in case? |
@kdy1 Any update on this? |
I retried CI several times but it still fails |
Sorry, my bad. I ran it on the wrong branch. I was able to reproduce, fixing it. |
Solved. :) |
This PR add a new option that can point to JSON file.
This file can contain any option supported by CLI (either in
kebab-case
orcamelCase
format) and will applied accordingly.Other options explicitly provided via command line override the one in the JSON file (so that the file can act as a "template").
Fixes swc-project/cli#284