-
Notifications
You must be signed in to change notification settings - Fork 67
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
Fixup documentation briefly for sortShorthand
#1718
Fixup documentation briefly for sortShorthand
#1718
Conversation
|
✅ Deploy Preview for compiled-css-in-js canceled.
|
@@ -116,14 +116,3 @@ See [Shorthand properties](/shorthand) for more information. | |||
|
|||
- Type: `boolean` | |||
- Default: `false` | |||
|
|||
#### sortShorthand |
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.
This is just a duplicate (the section above is the same)
```js | ||
{ | ||
loader: '@compiled/webpack-loader', | ||
options: { sortShorthand: true } |
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.
Is this even right? It's a bit unclear to me…
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.
docs changes look reasonable, let me double check in the repo
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.
oh this is incorrect, sortShorthand
exists for CompiledExtractPlugin
but not @compiled/webpack-loader
see current docs https://compiledcssinjs.com/docs/pkg-webpack-loader where sortShorthand
is listed under the options for CompiledExtractPlugin
but not listed under the options for @compiled/webpack-loader
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.
Oh, I got how this documentation works now 😅 I'll just keep the example so someone doesn't misunderstand it like I did.
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.
Both fixed in f8d041e
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.
apart from #1718 (comment), lgtm
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.
👍
f8d041e
to
a3843bd
Compare
a3843bd
to
7122c7d
Compare
What is this change?
Updating documentation around the
sortShorthand
config as I was confused myself setting it up in a new repo.PR checklist
Updated or added applicable tests– n/awebsite/