diff --git a/website/packages/docs/src/pages/pkg-webpack-loader.mdx b/website/packages/docs/src/pages/pkg-webpack-loader.mdx index 7a0c18025..1de3eed1c 100644 --- a/website/packages/docs/src/pages/pkg-webpack-loader.mdx +++ b/website/packages/docs/src/pages/pkg-webpack-loader.mdx @@ -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`