Skip to content

docs: fix the 'postcss-present-env' spelling mistakes #478

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

Merged
merged 1 commit into from
Sep 11, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ All notable changes to this project will be documented in this file. See [standa
### Notes

* you don't need `ident` option for loader
* `Object` syntax for the `plugin` option is soft deprecated, please migrate on `Array` syntax (`plugins: ['postcss-present-env', ['cssnano', options]]`)
* `Object` syntax for the `plugin` option is soft deprecated, please migrate on `Array` syntax (`plugins: ['postcss-preset-env', ['cssnano', options]]`)

<a name="3.0.0"></a>
# [3.0.0](https://github.com/postcss/postcss-loader/compare/v2.1.6...v3.0.0) (2018-08-08)
Expand Down
14 changes: 7 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ module.exports = {
options: {
postcssOptions: {
plugins: [
'postcss-present-env',
'postcss-preset-env',
{
// Options
},
Expand Down Expand Up @@ -335,15 +335,15 @@ module.exports = {
parser: 'sugarss',
plugins: [
['postcss-short', { prefix: 'x' }],
'postcss-present-env',
'postcss-preset-env',
],
};
}

return {
plugins: [
['postcss-short', { prefix: 'x' }],
'postcss-present-env',
'postcss-preset-env',
],
};
},
Expand Down Expand Up @@ -384,7 +384,7 @@ module.exports = {
plugins: [
// Plugins for PostCSS
['postcss-short', { prefix: 'x' }],
'postcss-present-env',
'postcss-preset-env',
],
};
```
Expand All @@ -406,7 +406,7 @@ module.exports = (api) => {
plugins: [
// Plugins for PostCSS
['postcss-short', { prefix: 'x' }],
'postcss-present-env',
'postcss-preset-env',
],
};
}
Expand All @@ -416,7 +416,7 @@ module.exports = (api) => {
plugins: [
// Plugins for PostCSS
['postcss-short', { prefix: 'x' }],
'postcss-present-env',
'postcss-preset-env',
],
};
};
Expand All @@ -431,7 +431,7 @@ module.exports = {
plugins: {
// Plugins for PostCSS
'postcss-short': { prefix: 'x' },
'postcss-present-env': {},
'postcss-preset-env': {},
},
};
```
Expand Down