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
* Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRecursive'.
1389
1390
*/
1390
1391
exprContextRecursive?: boolean;
1391
1392
/**
1393
+
* @deprecated
1392
1394
* Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRegExp'.
1393
1395
*/
1394
1396
exprContextRegExp?: RegExp|boolean;
1395
1397
/**
1398
+
* @deprecated
1396
1399
* Set the default request for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRequest'.
* Emit errors instead of warnings when imported names don't exist in imported module. Deprecated: This option has moved to 'module.parser.javascript.strictExportPresence'.
1417
1421
*/
1418
1422
strictExportPresence?: boolean;
1419
1423
/**
1424
+
* @deprecated
1420
1425
* Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to 'module.parser.javascript.strictThisContextOnImports'.
1421
1426
*/
1422
1427
strictThisContextOnImports?: boolean;
1423
1428
/**
1429
+
* @deprecated
1424
1430
* Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextCritical'.
1425
1431
*/
1426
1432
unknownContextCritical?: boolean;
1427
1433
/**
1434
+
* @deprecated
1428
1435
* Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRecursive'.
1429
1436
*/
1430
1437
unknownContextRecursive?: boolean;
1431
1438
/**
1439
+
* @deprecated
1432
1440
* Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRegExp'.
1433
1441
*/
1434
1442
unknownContextRegExp?: RegExp|boolean;
1435
1443
/**
1444
+
* @deprecated
1436
1445
* Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRequest'.
* Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextCritical'.
1445
1455
*/
1446
1456
wrappedContextCritical?: boolean;
1447
1457
/**
1458
+
* @deprecated
1448
1459
* Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRecursive'.
1449
1460
*/
1450
1461
wrappedContextRecursive?: boolean;
1451
1462
/**
1463
+
* @deprecated
1452
1464
* Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRegExp'.
* Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).
* Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.
* Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).
* Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.
Copy file name to clipboardExpand all lines: schemas/WebpackOptions.json
+54-20Lines changed: 54 additions & 20 deletions
Original file line number
Diff line number
Diff line change
@@ -2016,7 +2016,8 @@
2016
2016
},
2017
2017
"strictExportPresence": {
2018
2018
"description": "Deprecated in favor of \"exportsPresence\". Emit errors instead of warnings when imported names don't exist in imported module.",
2019
-
"type": "boolean"
2019
+
"type": "boolean",
2020
+
"deprecated": true
2020
2021
},
2021
2022
"strictThisContextOnImports": {
2022
2023
"description": "Handle the this context correctly according to the spec for namespace objects.",
@@ -2499,7 +2500,8 @@
2499
2500
},
2500
2501
"exprContextRecursive": {
2501
2502
"description": "Enable recursive directory lookup for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRecursive'.",
2502
-
"type": "boolean"
2503
+
"type": "boolean",
2504
+
"deprecated": true
2503
2505
},
2504
2506
"exprContextRegExp": {
2505
2507
"description": "Sets the default regular expression for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRegExp'.",
@@ -2511,11 +2513,13 @@
2511
2513
{
2512
2514
"type": "boolean"
2513
2515
}
2514
-
]
2516
+
],
2517
+
"deprecated": true
2515
2518
},
2516
2519
"exprContextRequest": {
2517
2520
"description": "Set the default request for full dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.exprContextRequest'.",
"description": "Emit errors instead of warnings when imported names don't exist in imported module. Deprecated: This option has moved to 'module.parser.javascript.strictExportPresence'.",
2539
-
"type": "boolean"
2543
+
"type": "boolean",
2544
+
"deprecated": true
2540
2545
},
2541
2546
"strictThisContextOnImports": {
2542
2547
"description": "Handle the this context correctly according to the spec for namespace objects. Deprecated: This option has moved to 'module.parser.javascript.strictThisContextOnImports'.",
2543
-
"type": "boolean"
2548
+
"type": "boolean",
2549
+
"deprecated": true
2544
2550
},
2545
2551
"unknownContextCritical": {
2546
2552
"description": "Enable warnings when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextCritical'.",
2547
-
"type": "boolean"
2553
+
"type": "boolean",
2554
+
"deprecated": true
2548
2555
},
2549
2556
"unknownContextRecursive": {
2550
2557
"description": "Enable recursive directory lookup when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRecursive'.",
2551
-
"type": "boolean"
2558
+
"type": "boolean",
2559
+
"deprecated": true
2552
2560
},
2553
2561
"unknownContextRegExp": {
2554
2562
"description": "Sets the regular expression when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRegExp'.",
@@ -2560,11 +2568,13 @@
2560
2568
{
2561
2569
"type": "boolean"
2562
2570
}
2563
-
]
2571
+
],
2572
+
"deprecated": true
2564
2573
},
2565
2574
"unknownContextRequest": {
2566
2575
"description": "Sets the request when using the require function in a not statically analyse-able way. Deprecated: This option has moved to 'module.parser.javascript.unknownContextRequest'.",
2567
-
"type": "string"
2576
+
"type": "string",
2577
+
"deprecated": true
2568
2578
},
2569
2579
"unsafeCache": {
2570
2580
"description": "Cache the resolving of module requests.",
@@ -2580,16 +2590,19 @@
2580
2590
},
2581
2591
"wrappedContextCritical": {
2582
2592
"description": "Enable warnings for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextCritical'.",
2583
-
"type": "boolean"
2593
+
"type": "boolean",
2594
+
"deprecated": true
2584
2595
},
2585
2596
"wrappedContextRecursive": {
2586
2597
"description": "Enable recursive directory lookup for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRecursive'.",
2587
-
"type": "boolean"
2598
+
"type": "boolean",
2599
+
"deprecated": true
2588
2600
},
2589
2601
"wrappedContextRegExp": {
2590
2602
"description": "Set the inner regular expression for partial dynamic dependencies. Deprecated: This option has moved to 'module.parser.javascript.wrappedContextRegExp'.",
2591
2603
"instanceof": "RegExp",
2592
-
"tsType": "RegExp"
2604
+
"tsType": "RegExp",
2605
+
"deprecated": true
2593
2606
}
2594
2607
}
2595
2608
},
@@ -2806,14 +2819,23 @@
2806
2819
},
2807
2820
"moduleIds": {
2808
2821
"description": "Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).",
"description": "Avoid emitting assets when errors occur (deprecated: use 'emitOnErrors' instead).",
2813
2834
"type": "boolean",
2814
2835
"cli": {
2815
2836
"exclude": true
2816
-
}
2837
+
},
2838
+
"deprecated": true
2817
2839
},
2818
2840
"nodeEnv": {
2819
2841
"description": "Set process.env.NODE_ENV to a specific value.",
@@ -2970,14 +2992,23 @@
2970
2992
},
2971
2993
"moduleIds": {
2972
2994
"description": "Define the algorithm to choose module ids (natural: numeric ids in order of usage, named: readable ids for better debugging, hashed: (deprecated) short hashes as ids for better long term caching, deterministic: numeric hash ids for better long term caching, size: numeric ids focused on minimal initial download size, false: no algorithm used, as custom one can be provided via plugin).",
"description": "Avoid emitting assets when errors occur (deprecated: use 'emitOnErrors' instead).",
2977
3007
"type": "boolean",
2978
3008
"cli": {
2979
3009
"exclude": true
2980
-
}
3010
+
},
3011
+
"deprecated": true
2981
3012
},
2982
3013
"nodeEnv": {
2983
3014
"description": "Set process.env.NODE_ENV to a specific value.",
@@ -5266,7 +5297,8 @@
5266
5297
},
5267
5298
"cached": {
5268
5299
"description": "Add information about cached (not built) modules (deprecated: use 'cachedModules' instead).",
5269
-
"type": "boolean"
5300
+
"type": "boolean",
5301
+
"deprecated": true
5270
5302
},
5271
5303
"cachedAssets": {
5272
5304
"description": "Show cached assets (setting this to `false` only shows emitted files).",
@@ -5655,7 +5687,8 @@
5655
5687
},
5656
5688
"runtime": {
5657
5689
"description": "Add information about runtime modules (deprecated: use 'runtimeModules' instead).",
5658
-
"type": "boolean"
5690
+
"type": "boolean",
5691
+
"deprecated": true
5659
5692
},
5660
5693
"runtimeModules": {
5661
5694
"description": "Add information about runtime modules.",
@@ -5728,7 +5761,8 @@
5728
5761
},
5729
5762
"StrictModuleExceptionHandling": {
5730
5763
"description": "Handles exceptions in module loading correctly at a performance cost (Deprecated). This will handle module error compatible with the Node.js CommonJS way.",
5731
-
"type": "boolean"
5764
+
"type": "boolean",
5765
+
"deprecated": true
5732
5766
},
5733
5767
"Target": {
5734
5768
"description": "Environment to build for. An array of environments to build for all of them when possible.",
0 commit comments