FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

docs: fix the 'postcss-present-env' spelling mistakes by zhnoah · Pull Request #478 · webpack/postcss-loader · GitHub

Repository navigation

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .md  (2) All 1 file type selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
2 changes: 1 addition & 1 deletion CHANGELOG.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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

Back | FazBrowse Home | New Git URL