diff --git a/README.md b/README.md index 6b03ad79..3c7e206e 100644 --- a/README.md +++ b/README.md @@ -208,7 +208,6 @@ module.exports = ({ file, options, env }) => ({ { loader: 'postcss-loader', options: { - ident: 'postcss', plugins: (loader) => [ require('postcss-import')({ root: loader.resourcePath }), require('postcss-preset-env')(), @@ -218,8 +217,6 @@ module.exports = ({ file, options, env }) => ({ } ``` -> ⚠️ 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'`) - ### `Syntaxes` |Name|Type|Default|Description| @@ -319,7 +316,6 @@ within the CSS directly as an annotation comment. { loader: 'postcss-loader', options: { - ident: 'postcss', plugins: [ require('postcss-import')(), require('stylelint')(), @@ -343,7 +339,6 @@ within the CSS directly as an annotation comment. { loader: 'postcss-loader', options: { - ident: 'postcss', plugins: [ require('autoprefixer')({...options}), ...,