-
-
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
fix: pass docusaurus-publish cli args to build command #1185
Conversation
The --skip-image-compression flag is passed thru to the build command
Deploy preview for docusaurus-preview ready! Built with commit 5faff84 |
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.
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.
Does this mean that --skip-image-compression never worked? Maybe because everyone was just ok having their images compressed 🤣 .
It never worked for docusaurus-publish. But it always worked for docusaurus-build.
LGTM.
Thanks for doing this 😄
I think we might not have tested with the publish command, only with the build command in #654. |
The --skip-image-compression flag is passed thru to the build command
Motivation
(Write your motivation here.)
Have you read the Contributing Guidelines on pull requests?
(Write your answer here.)
Test Plan
(Write your test plan here. If you changed any code, please provide us with clear instructions on how you verified your changes work. Bonus points for screenshots and videos!)
Related PRs
(If this PR adds or changes functionality, please take some time to update the docs at https://github.com/facebook/docusaurus, and link to your PR here.)