Skip to content

Commit

Permalink
Fix webpack-loader documentation to be consistent
Browse files Browse the repository at this point in the history
  • Loading branch information
kylorhall-atlassian committed Oct 11, 2024
1 parent 8601ba2 commit f8d041e
Showing 1 changed file with 5 additions and 14 deletions.
19 changes: 5 additions & 14 deletions website/packages/docs/src/pages/pkg-webpack-loader.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -305,20 +305,11 @@ For example, `border` will always come before `borderColor`, which will always c

See [Shorthand properties](/shorthand) for more information.

- Type: `boolean`
- Default: `false`

This should be set on both the `@compiled/webpack-loader`:

```js
{
loader: '@compiled/webpack-loader',
options: { sortShorthand: true }
}
new CompiledExtractPlugin({
sortShorthand: true,
});
```

And the `CompiledExtractPlugin`:

```js
new CompiledExtractPlugin({ sortShorthand: true }),
```
- Type: `boolean`
- Default: `false`

0 comments on commit f8d041e

Please sign in to comment.