Skip to content

Commit ca1389c

Browse files
authored
docs: fix spelling mistakes (#478)
1 parent cda342a commit ca1389c

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ All notable changes to this project will be documented in this file. See [standa
4444
### Notes
4545

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

4949
<a name="3.0.0"></a>
5050
# [3.0.0](https://github.com/postcss/postcss-loader/compare/v2.1.6...v3.0.0) (2018-08-08)

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ module.exports = {
7171
options: {
7272
postcssOptions: {
7373
plugins: [
74-
'postcss-present-env',
74+
'postcss-preset-env',
7575
{
7676
// Options
7777
},
@@ -335,15 +335,15 @@ module.exports = {
335335
parser: 'sugarss',
336336
plugins: [
337337
['postcss-short', { prefix: 'x' }],
338-
'postcss-present-env',
338+
'postcss-preset-env',
339339
],
340340
};
341341
}
342342

343343
return {
344344
plugins: [
345345
['postcss-short', { prefix: 'x' }],
346-
'postcss-present-env',
346+
'postcss-preset-env',
347347
],
348348
};
349349
},
@@ -384,7 +384,7 @@ module.exports = {
384384
plugins: [
385385
// Plugins for PostCSS
386386
['postcss-short', { prefix: 'x' }],
387-
'postcss-present-env',
387+
'postcss-preset-env',
388388
],
389389
};
390390
```
@@ -406,7 +406,7 @@ module.exports = (api) => {
406406
plugins: [
407407
// Plugins for PostCSS
408408
['postcss-short', { prefix: 'x' }],
409-
'postcss-present-env',
409+
'postcss-preset-env',
410410
],
411411
};
412412
}
@@ -416,7 +416,7 @@ module.exports = (api) => {
416416
plugins: [
417417
// Plugins for PostCSS
418418
['postcss-short', { prefix: 'x' }],
419-
'postcss-present-env',
419+
'postcss-preset-env',
420420
],
421421
};
422422
};
@@ -431,7 +431,7 @@ module.exports = {
431431
plugins: {
432432
// Plugins for PostCSS
433433
'postcss-short': { prefix: 'x' },
434-
'postcss-present-env': {},
434+
'postcss-preset-env': {},
435435
},
436436
};
437437
```

0 commit comments

Comments
 (0)