You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
> ⚠️ 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'`)
326
-
327
324
**`webpack.config.js`**
328
325
329
326
```js
@@ -334,7 +331,6 @@ module.exports = {
334
331
test:/\.css$/i,
335
332
loader:'postcss-loader',
336
333
options: {
337
-
ident:'postcss',
338
334
plugins: {
339
335
'postcss-import': {},
340
336
'postcss-nested': {},
@@ -371,7 +367,6 @@ module.exports = {
371
367
test:/\.css$/i,
372
368
loader:'postcss-loader',
373
369
options: {
374
-
ident:'postcss',
375
370
plugins: {
376
371
'postcss-import': {},
377
372
'postcss-nested': {},
@@ -586,7 +581,7 @@ module.exports = {
586
581
### `SourceMap`
587
582
588
583
Type: `Boolean|String`
589
-
Default: `undefined`
584
+
Default: `compiler.devtool`
590
585
591
586
By default generation of source maps depends on the devtool option.
592
587
All values enable source map generation except eval and false value.
0 commit comments