Skip to content

Commit

Permalink
Update README.md to correct case sensitive name (#1291)
Browse files Browse the repository at this point in the history
The export for the @greenwood/plugin-postcss was incorrectly capitalized causing the import to fail if copied directly from the documentation.
  • Loading branch information
lschierer authored Nov 2, 2024
1 parent 02d941b commit f199112
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/plugin-postcss/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,17 +80,17 @@ _Eventually once [PostCSS adds support for ESM configuration files](https://gith

If you would like to _extend_ the default configuration with your own custom _postcss.config.js_, you can enable the `extendConfig` option of this plugin
```js
import { greenwoodPluginPostcss } from '@greenwood/plugin-postcss';
import { greenwoodPluginPostCss } from '@greenwood/plugin-postcss';

export default {
// ...

plugins: [
greenwoodPluginPostcss({
greenwoodPluginPostCss({
extendConfig: true
})
]
};
```

This will then process your CSS with PostCSS using the configured plugins / settings you provide, merged _after_ the default Greenwood configuration listed above.
This will then process your CSS with PostCSS using the configured plugins / settings you provide, merged _after_ the default Greenwood configuration listed above.

0 comments on commit f199112

Please sign in to comment.