Skip to content

Commit bb625bb

Browse files
author
Aori Nevo
committed
I-388: Remove ident property from options in docs.
1 parent 7647ac9 commit bb625bb

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,6 @@ module.exports = ({ file, options, env }) => ({
208208
{
209209
loader: 'postcss-loader',
210210
options: {
211-
ident: 'postcss',
212211
plugins: (loader) => [
213212
require('postcss-import')({ root: loader.resourcePath }),
214213
require('postcss-preset-env')(),
@@ -218,8 +217,6 @@ module.exports = ({ file, options, env }) => ({
218217
}
219218
```
220219

221-
> ⚠️ webpack requires an identifier (`ident`) in `options` when `{Function}/require` is used (Complex Options). The `ident` can be freely named as long as it is unique. It's recommended to name it (`ident: 'postcss'`)
222-
223220
### `Syntaxes`
224221

225222
|Name|Type|Default|Description|
@@ -319,7 +316,6 @@ within the CSS directly as an annotation comment.
319316
{
320317
loader: 'postcss-loader',
321318
options: {
322-
ident: 'postcss',
323319
plugins: [
324320
require('postcss-import')(),
325321
require('stylelint')(),
@@ -343,7 +339,6 @@ within the CSS directly as an annotation comment.
343339
{
344340
loader: 'postcss-loader',
345341
options: {
346-
ident: 'postcss',
347342
plugins: [
348343
require('autoprefixer')({...options}),
349344
...,

0 commit comments

Comments
 (0)