webpack 5.67.0 → 5.68.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of webpack might be problematic. Click here for more details.
- package/lib/APIPlugin.js +33 -0
- package/lib/Module.js +0 -2
- package/lib/async-modules/AwaitDependenciesInitFragment.js +4 -4
- package/lib/config/defaults.js +1 -0
- package/lib/dependencies/HarmonyCompatibilityDependency.js +5 -5
- package/lib/dependencies/ImportMetaPlugin.js +22 -3
- package/lib/runtime/AsyncModuleRuntimeModule.js +25 -15
- package/lib/util/ArrayHelpers.js +18 -4
- package/lib/wasm-async/AsyncWebAssemblyJavascriptGenerator.js +9 -3
- package/package.json +1 -1
- package/schemas/WebpackOptions.check.js +1 -1
- package/schemas/WebpackOptions.json +4 -0
- package/types.d.ts +5 -0
@@ -1608,6 +1608,10 @@
|
|
1608
1608
|
"description": "Specifies the behavior of invalid export names in \"import ... from ...\".",
|
1609
1609
|
"enum": ["error", "warn", "auto", false]
|
1610
1610
|
},
|
1611
|
+
"importMeta": {
|
1612
|
+
"description": "Enable/disable evaluating import.meta.",
|
1613
|
+
"type": "boolean"
|
1614
|
+
},
|
1611
1615
|
"node": {
|
1612
1616
|
"$ref": "#/definitions/Node"
|
1613
1617
|
},
|
package/types.d.ts
CHANGED
@@ -5472,6 +5472,11 @@ declare interface JavascriptParserOptions {
|
|
5472
5472
|
*/
|
5473
5473
|
importExportsPresence?: false | "auto" | "error" | "warn";
|
5474
5474
|
|
5475
|
+
/**
|
5476
|
+
* Enable/disable evaluating import.meta.
|
5477
|
+
*/
|
5478
|
+
importMeta?: boolean;
|
5479
|
+
|
5475
5480
|
/**
|
5476
5481
|
* Include polyfills or mocks for various node stuff.
|
5477
5482
|
*/
|