From 7b3967e8f7d04f113d8667faf27d195aa3a3805c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E8=99=8E?= Date: Fri, 11 Sep 2020 10:54:02 +0800 Subject: [PATCH] Fix spelling mistakes Change 'postcss-present-env' to 'postcss-preset-env'. --- CHANGELOG.md | 2 +- README.md | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index fb6039df..14291c84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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]]`) # [3.0.0](https://github.com/postcss/postcss-loader/compare/v2.1.6...v3.0.0) (2018-08-08) diff --git a/README.md b/README.md index ec24231a..c4054e61 100644 --- a/README.md +++ b/README.md @@ -71,7 +71,7 @@ module.exports = { options: { postcssOptions: { plugins: [ - 'postcss-present-env', + 'postcss-preset-env', { // Options }, @@ -335,7 +335,7 @@ module.exports = { parser: 'sugarss', plugins: [ ['postcss-short', { prefix: 'x' }], - 'postcss-present-env', + 'postcss-preset-env', ], }; } @@ -343,7 +343,7 @@ module.exports = { return { plugins: [ ['postcss-short', { prefix: 'x' }], - 'postcss-present-env', + 'postcss-preset-env', ], }; }, @@ -384,7 +384,7 @@ module.exports = { plugins: [ // Plugins for PostCSS ['postcss-short', { prefix: 'x' }], - 'postcss-present-env', + 'postcss-preset-env', ], }; ``` @@ -406,7 +406,7 @@ module.exports = (api) => { plugins: [ // Plugins for PostCSS ['postcss-short', { prefix: 'x' }], - 'postcss-present-env', + 'postcss-preset-env', ], }; } @@ -416,7 +416,7 @@ module.exports = (api) => { plugins: [ // Plugins for PostCSS ['postcss-short', { prefix: 'x' }], - 'postcss-present-env', + 'postcss-preset-env', ], }; }; @@ -431,7 +431,7 @@ module.exports = { plugins: { // Plugins for PostCSS 'postcss-short': { prefix: 'x' }, - 'postcss-present-env': {}, + 'postcss-preset-env': {}, }, }; ```