-
-
Notifications
You must be signed in to change notification settings - Fork 8.5k
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(core): add --config param to swizzle command #8210
Conversation
✅ [V2]Built without sensitive environment variables
To edit notification comments on pull requests, go to your Netlify site settings. |
⚡️ Lighthouse report for the deploy preview of this PR
|
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.
Maybe add a test with a different config? (I forgot if we have similar tests)
I did not see that this was tested anywhere else, but I'll add tests in a few days. |
yes we don't have test on other CLIs for now so that matches with our current practices 😅 LGTM thanks 👍 |
Pre-flight checklist
Motivation
My Docusaurus site uses a non-default config location and I am unable to use swizzle.
Test Plan
Because swizzle is not currently working out of the box on main, I've applied this additional diff for the sake of the test.
website/docusaurus.config.js
towebsite/cfg.js
.yarn swizzle --config cfg.js
.Test links
N/A
Related issues/PRs