diff --git a/HEAD_COMMIT b/HEAD_COMMIT index 0f63443..7c9b123 100644 --- a/HEAD_COMMIT +++ b/HEAD_COMMIT @@ -1 +1 @@ -b5499e05b0c1c2847545a610cbaea3d352328d3d \ No newline at end of file +e370b76b44eec53c672090361365b16c6283ed13 diff --git a/pages/v5.x/_media/WORKING_GROUP.md b/pages/v5.x/_media/WORKING_GROUP.md index 3578afb..e4a82ba 100644 --- a/pages/v5.x/_media/WORKING_GROUP.md +++ b/pages/v5.x/_media/WORKING_GROUP.md @@ -23,16 +23,26 @@ Each member of the working group is required to adhere to the [governance model ## Members -- [snitin315](https://github.com/snitin315) - +- [@alexander-akait](https://github.com/alexander-akait) - + **Alexander Akait** +- [@avivkeller](https://github.com/avivkeller) - + **Aviv Keller** <> (he/him) +- [@hai-x](https://github.com/hai-x) - + **hai-x** <> +- [@jhnns](https://github.com/jhnns) - + **Johannes Ewald** <> (he/him) +- [@joshwiens](https://github.com/joshwiens) - + **Joshua Wiens** <> +- [@sokra](https://github.com/sokra) - + **Tobias Koppers** <> +- [@snitin315](https://github.com/snitin315) - **Nitin Kumar** <> (he/him) -- [thelarkinn](https://github.com/thelarkinn) - - **Sean Larkin** <> (he/him) -- [jhnns](https://github.com/jhnns) - - **Johannes Ewald** <> -- [sokra](https://github.com/sokra) - - **Tobias Koppers** <> -- [spacek33z](https://github.com/spacek33z) - - **Kees Kluskens** <> +- [@spacek33z](https://github.com/spacek33z) - + **Kees Kluskens** <> +- [@thelarkinn](https://github.com/thelarkinn) - + **Sean Larkin** <> +- [@xiaoxiaojx](https://github.com/xiaoxiaojx) - + **Xiao** <<784487301@qq.com>> (he/him) ## Communication diff --git a/pages/v5.x/globals.md b/pages/v5.x/globals.md index c95e5ed..8f07f28 100644 --- a/pages/v5.x/globals.md +++ b/pages/v5.x/globals.md @@ -241,7 +241,7 @@ After this method has succeeded the cache can only be restored when build depend * `id` {string|number} * `idNameHints` {SortableSet} * `ids` {ChunkId[]} -* `modulesIterable` {Iterable} +* `modulesIterable` {Iterable} * `name` {string} * `preventIntegration` {boolean} * `rendered` {boolean} @@ -257,6 +257,8 @@ After this method has succeeded the cache can only be restored when build depend #### `addModule(module)` +> Stability: 0 - Deprecated + * `module` {Module} * Returns: {boolean} @@ -266,16 +268,22 @@ After this method has succeeded the cache can only be restored when build depend #### `canBeIntegrated(otherChunk)` +> Stability: 0 - Deprecated + * `otherChunk` {Chunk} * Returns: {boolean} #### `compareTo(otherChunk)` +> Stability: 0 - Deprecated + * `otherChunk` {Chunk} * Returns: {-1|0|1} #### `containsModule(module)` +> Stability: 0 - Deprecated + * `module` {Module} * Returns: {boolean} @@ -327,6 +335,8 @@ After this method has succeeded the cache can only be restored when build depend #### `getChunkModuleMaps(filterFn)` +> Stability: 0 - Deprecated + * `filterFn` {object} * Returns: {ChunkModuleMaps} @@ -336,6 +346,8 @@ After this method has succeeded the cache can only be restored when build depend #### `getModules()` +> Stability: 0 - Deprecated + * Returns: {Module[]} #### `getNumberOfGroups()` @@ -344,6 +356,8 @@ After this method has succeeded the cache can only be restored when build depend #### `getNumberOfModules()` +> Stability: 0 - Deprecated + * Returns: {number} #### `hasAsyncChunks()` @@ -360,10 +374,14 @@ After this method has succeeded the cache can only be restored when build depend #### `hasEntryModule()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `hasModuleInGraph(filterFn[, filterChunkFn])` +> Stability: 0 - Deprecated + * `filterFn` {object} * `filterChunkFn` {object} * Returns: {boolean} @@ -374,17 +392,23 @@ After this method has succeeded the cache can only be restored when build depend #### `integrate(otherChunk)` +> Stability: 0 - Deprecated + * `otherChunk` {Chunk} * Returns: {boolean} #### `integratedSize(otherChunk, options)` +> Stability: 0 - Deprecated + * `otherChunk` {Chunk} * `options` {ChunkSizeOptions} * Returns: {number} #### `isEmpty()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `isInGroup(chunkGroup)` @@ -398,16 +422,22 @@ After this method has succeeded the cache can only be restored when build depend #### `modulesSize()` +> Stability: 0 - Deprecated + * Returns: {number} #### `moveModule(module, otherChunk)` +> Stability: 0 - Deprecated + * `module` {Module} * `otherChunk` {Chunk} * Returns: {void} #### `remove()` +> Stability: 0 - Deprecated + * Returns: {void} #### `removeGroup(chunkGroup)` @@ -417,11 +447,15 @@ After this method has succeeded the cache can only be restored when build depend #### `removeModule(module)` +> Stability: 0 - Deprecated + * `module` {Module} * Returns: {void} #### `size([options])` +> Stability: 0 - Deprecated + * `options` {ChunkSizeOptions} * Returns: {number} @@ -1447,7 +1481,7 @@ If `module` is passed, `loc` and `request` must also be passed. #### `assignDepths(modules)` -* `modules` {Set} +* `modules` {Module[]|Set} * Returns: {void} #### `assignRuntimeIds()` @@ -2087,13 +2121,13 @@ Apply the plugin * `weak` {boolean} * `EXPORTS_OBJECT_REFERENCED` {string[][]} * `NO_EXPORTS_REFERENCED` {string[][]} -* `TRANSITIVE` {TRANSITIVE} +* `TRANSITIVE` {symbol} ### Methods #### `couldAffectReferencingModule()` -* Returns: {boolean|TRANSITIVE} +* Returns: {boolean|symbol} #### `createIgnoredModule(context)` @@ -2704,39 +2738,39 @@ Apply the plugin * `blocks` {AsyncDependenciesBlock[]} * `buildInfo` {BuildInfo} * `buildMeta` {BuildMeta} -* `chunksIterable` {Iterable} +* `chunksIterable` {Iterable} * `codeGenerationDependencies` {Dependency[]} * `context` {string} * `debugId` {number} * `dependencies` {Dependency[]} * `dependencyMeta` {ImportDependencyMeta|CssImportDependencyMeta|AssetDependencyMeta} -* `depth` {number} +* `depth` {number} * `errors` {any} * `exportsArgument` {string} * `externalType` {ExternalsType} * `factoryMeta` {FactoryMeta} * `hasEqualsChunks` {any} -* `hash` {string} +* `hash` {string} * `hot` {boolean} * `id` {string|number} -* `index` {number} -* `index2` {number} -* `issuer` {Module} +* `index` {number} +* `index2` {number} +* `issuer` {Module} * `isUsed` {any} * `layer` {string} * `moduleArgument` {string} * `needId` {boolean} * `optimizationBailout` {string|object[]} -* `optional` {boolean} +* `optional` {boolean} * `parent` {DependenciesBlock} * `presentationalDependencies` {Dependency[]} -* `profile` {ModuleProfile} -* `renderedHash` {string} +* `profile` {ModuleProfile} +* `renderedHash` {string} * `request` {ExternalModuleRequest} * `resolveOptions` {ResolveOptions} * `type` {string} * `used` {any} -* `usedExports` {boolean|SortableSet} +* `usedExports` {boolean|SortableSet} * `userRequest` {string} * `useSimpleSourceMap` {boolean} * `useSourceMap` {boolean} @@ -2764,6 +2798,8 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `addChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -2837,6 +2873,8 @@ removes all warnings and errors #### `getChunks()` +> Stability: 0 - Deprecated + * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -2856,6 +2894,8 @@ removes all warnings and errors #### `getNumberOfChunks()` +> Stability: 0 - Deprecated + * Returns: {number} #### `getNumberOfErrors()` @@ -2941,10 +2981,14 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `isInChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -2955,6 +2999,8 @@ This data will be passed to restoreFromUnsafeCache later. #### `isProvided(exportName)` +> Stability: 0 - Deprecated + * `exportName` {string} * Returns: {boolean} @@ -2994,6 +3040,8 @@ Use needBuild instead #### `removeChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {void} @@ -3186,7 +3234,7 @@ Apply the plugin * `id` {string|number} * `idNameHints` {SortableSet} * `ids` {ChunkId[]} -* `modulesIterable` {Iterable} +* `modulesIterable` {Iterable} * `name` {string} * `preventIntegration` {boolean} * `rendered` {boolean} @@ -3202,6 +3250,8 @@ Apply the plugin #### `addModule(module)` +> Stability: 0 - Deprecated + * `module` {Module} * Returns: {boolean} @@ -3211,16 +3261,22 @@ Apply the plugin #### `canBeIntegrated(otherChunk)` +> Stability: 0 - Deprecated + * `otherChunk` {Chunk} * Returns: {boolean} #### `compareTo(otherChunk)` +> Stability: 0 - Deprecated + * `otherChunk` {Chunk} * Returns: {-1|0|1} #### `containsModule(module)` +> Stability: 0 - Deprecated + * `module` {Module} * Returns: {boolean} @@ -3272,6 +3328,8 @@ Apply the plugin #### `getChunkModuleMaps(filterFn)` +> Stability: 0 - Deprecated + * `filterFn` {object} * Returns: {ChunkModuleMaps} @@ -3281,6 +3339,8 @@ Apply the plugin #### `getModules()` +> Stability: 0 - Deprecated + * Returns: {Module[]} #### `getNumberOfGroups()` @@ -3289,6 +3349,8 @@ Apply the plugin #### `getNumberOfModules()` +> Stability: 0 - Deprecated + * Returns: {number} #### `hasAsyncChunks()` @@ -3305,10 +3367,14 @@ Apply the plugin #### `hasEntryModule()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `hasModuleInGraph(filterFn[, filterChunkFn])` +> Stability: 0 - Deprecated + * `filterFn` {object} * `filterChunkFn` {object} * Returns: {boolean} @@ -3319,17 +3385,23 @@ Apply the plugin #### `integrate(otherChunk)` +> Stability: 0 - Deprecated + * `otherChunk` {Chunk} * Returns: {boolean} #### `integratedSize(otherChunk, options)` +> Stability: 0 - Deprecated + * `otherChunk` {Chunk} * `options` {ChunkSizeOptions} * Returns: {number} #### `isEmpty()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `isInGroup(chunkGroup)` @@ -3343,16 +3415,22 @@ Apply the plugin #### `modulesSize()` +> Stability: 0 - Deprecated + * Returns: {number} #### `moveModule(module, otherChunk)` +> Stability: 0 - Deprecated + * `module` {Module} * `otherChunk` {Chunk} * Returns: {void} #### `remove()` +> Stability: 0 - Deprecated + * Returns: {void} #### `removeGroup(chunkGroup)` @@ -3362,11 +3440,15 @@ Apply the plugin #### `removeModule(module)` +> Stability: 0 - Deprecated + * `module` {Module} * Returns: {void} #### `size([options])` +> Stability: 0 - Deprecated + * `options` {ChunkSizeOptions} * Returns: {number} @@ -3710,36 +3792,36 @@ Apply the plugin * `blocks` {AsyncDependenciesBlock[]} * `buildInfo` {BuildInfo} * `buildMeta` {BuildMeta} -* `chunksIterable` {Iterable} +* `chunksIterable` {Iterable} * `codeGenerationDependencies` {Dependency[]} * `context` {string} * `debugId` {number} * `dependencies` {Dependency[]} -* `depth` {number} +* `depth` {number} * `errors` {any} * `exportsArgument` {string} * `factoryMeta` {FactoryMeta} * `hasEqualsChunks` {any} -* `hash` {string} +* `hash` {string} * `hot` {boolean} * `id` {string|number} -* `index` {number} -* `index2` {number} -* `issuer` {Module} +* `index` {number} +* `index2` {number} +* `issuer` {Module} * `isUsed` {any} * `layer` {string} * `moduleArgument` {string} * `needId` {boolean} * `optimizationBailout` {string|object[]} -* `optional` {boolean} +* `optional` {boolean} * `parent` {DependenciesBlock} * `presentationalDependencies` {Dependency[]} -* `profile` {ModuleProfile} -* `renderedHash` {string} +* `profile` {ModuleProfile} +* `renderedHash` {string} * `resolveOptions` {ResolveOptions} * `type` {string} * `used` {any} -* `usedExports` {boolean|SortableSet} +* `usedExports` {boolean|SortableSet} * `useSimpleSourceMap` {boolean} * `useSourceMap` {boolean} * `warnings` {any} @@ -3764,6 +3846,8 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `addChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -3837,6 +3921,8 @@ removes all warnings and errors #### `getChunks()` +> Stability: 0 - Deprecated + * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -3856,6 +3942,8 @@ removes all warnings and errors #### `getNumberOfChunks()` +> Stability: 0 - Deprecated + * Returns: {number} #### `getNumberOfErrors()` @@ -3941,10 +4029,14 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `isInChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -3955,6 +4047,8 @@ This data will be passed to restoreFromUnsafeCache later. #### `isProvided(exportName)` +> Stability: 0 - Deprecated + * `exportName` {string} * Returns: {boolean} @@ -3994,6 +4088,8 @@ Use needBuild instead #### `removeChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {void} @@ -4653,12 +4749,12 @@ Apply the plugin * `blocks` {AsyncDependenciesBlock[]} * `buildInfo` {BuildInfo} * `buildMeta` {BuildMeta} -* `chunksIterable` {Iterable} +* `chunksIterable` {Iterable} * `codeGenerationDependencies` {Dependency[]} * `context` {string} * `debugId` {number} * `dependencies` {Dependency[]} -* `depth` {number} +* `depth` {number} * `error` {WebpackError} * `errors` {any} * `exportsArgument` {string} @@ -4667,12 +4763,12 @@ Apply the plugin * `generator` {Generator} * `generatorOptions` {GeneratorOptions} * `hasEqualsChunks` {any} -* `hash` {string} +* `hash` {string} * `hot` {boolean} * `id` {string|number} -* `index` {number} -* `index2` {number} -* `issuer` {Module} +* `index` {number} +* `index2` {number} +* `issuer` {Module} * `isUsed` {any} * `layer` {string} * `loaders` {LoaderItem[]} @@ -4680,21 +4776,21 @@ Apply the plugin * `moduleArgument` {string} * `needId` {boolean} * `optimizationBailout` {string|object[]} -* `optional` {boolean} +* `optional` {boolean} * `parent` {DependenciesBlock} * `parser` {ParserClass} * `parserOptions` {ParserOptions} * `presentationalDependencies` {Dependency[]} -* `profile` {ModuleProfile} +* `profile` {ModuleProfile} * `rawRequest` {string} -* `renderedHash` {string} +* `renderedHash` {string} * `request` {string} * `resolveOptions` {ResolveOptions} * `resource` {string} * `resourceResolveData` {ResourceSchemeData|Partial} * `type` {string} * `used` {any} -* `usedExports` {boolean|SortableSet} +* `usedExports` {boolean|SortableSet} * `userRequest` {string} * `useSimpleSourceMap` {boolean} * `useSourceMap` {boolean} @@ -4720,6 +4816,8 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `addChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -4816,6 +4914,8 @@ removes all warnings and errors #### `getChunks()` +> Stability: 0 - Deprecated + * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -4841,6 +4941,8 @@ removes all warnings and errors #### `getNumberOfChunks()` +> Stability: 0 - Deprecated + * Returns: {number} #### `getNumberOfErrors()` @@ -4930,10 +5032,14 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `isInChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -4944,6 +5050,8 @@ This data will be passed to restoreFromUnsafeCache later. #### `isProvided(exportName)` +> Stability: 0 - Deprecated + * `exportName` {string} * Returns: {boolean} @@ -4988,6 +5096,8 @@ Use needBuild instead #### `removeChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {void} @@ -5341,41 +5451,41 @@ Apply the plugin * `buildMeta` {BuildMeta} * `chunk` {Chunk} * `chunkGraph` {ChunkGraph} -* `chunksIterable` {Iterable} +* `chunksIterable` {Iterable} * `codeGenerationDependencies` {Dependency[]} * `compilation` {Compilation} * `context` {string} * `debugId` {number} * `dependencies` {Dependency[]} * `dependentHash` {boolean} -* `depth` {number} +* `depth` {number} * `errors` {any} * `exportsArgument` {string} * `factoryMeta` {FactoryMeta} * `fullHash` {boolean} * `hasEqualsChunks` {any} -* `hash` {string} +* `hash` {string} * `hot` {boolean} * `id` {string|number} -* `index` {number} -* `index2` {number} -* `issuer` {Module} +* `index` {number} +* `index2` {number} +* `issuer` {Module} * `isUsed` {any} * `layer` {string} * `moduleArgument` {string} * `name` {string} * `needId` {boolean} * `optimizationBailout` {string|object[]} -* `optional` {boolean} +* `optional` {boolean} * `parent` {DependenciesBlock} * `presentationalDependencies` {Dependency[]} -* `profile` {ModuleProfile} -* `renderedHash` {string} +* `profile` {ModuleProfile} +* `renderedHash` {string} * `resolveOptions` {ResolveOptions} * `stage` {number} * `type` {string} * `used` {any} -* `usedExports` {boolean|SortableSet} +* `usedExports` {boolean|SortableSet} * `useSimpleSourceMap` {boolean} * `useSourceMap` {boolean} * `warnings` {any} @@ -5404,6 +5514,8 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `addChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -5488,6 +5600,8 @@ removes all warnings and errors #### `getChunks()` +> Stability: 0 - Deprecated + * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -5511,6 +5625,8 @@ removes all warnings and errors #### `getNumberOfChunks()` +> Stability: 0 - Deprecated + * Returns: {number} #### `getNumberOfErrors()` @@ -5596,10 +5712,14 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `isInChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -5610,6 +5730,8 @@ This data will be passed to restoreFromUnsafeCache later. #### `isProvided(exportName)` +> Stability: 0 - Deprecated + * `exportName` {string} * Returns: {boolean} @@ -5649,6 +5771,8 @@ Use needBuild instead #### `removeChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {void} @@ -6649,6 +6773,7 @@ Specify options for each parser. * `filename` {string} * `hash` {string} * `hashWithLength` {object} +* `local` {string} * `module` {Module|ModulePathData} * `noChunkHash` {boolean} * `prepareId` {object} @@ -6742,7 +6867,8 @@ Specify options for each parser. * `dependencyType` {string} * `fileDependencies` {LazySet} * `ignoredModule` {Module} -* `missingDependencies` {LazySet} +* `missingDependencies` {LazySet} +* `phase` {"defer"|"source"|"evaluation"} * `request` {string} * `resolveOptions` {ResolveOptions} @@ -6809,6 +6935,7 @@ A rule description with conditions and effects for modules. * `oneOf` {false|""|0|RuleSetRule[]} Only execute the first matching rule in this array. * `options` {string|object} Shortcut for use.options. * `parser` {object} Options for parsing. +* `phase` {string|RegExp|RuleSetLogicalConditions|RuleSetCondition[]|object} Match the import phase of the dependency. * `realResource` {string|RegExp|RuleSetLogicalConditionsAbsolute|RuleSetConditionAbsolute[]|object} Match the real resource path of the module. * `resolve` {ResolveOptions} Options for the resolver. * `resource` {string|RegExp|RuleSetLogicalConditionsAbsolute|RuleSetConditionAbsolute[]|object} Match the resource path of the module. diff --git a/pages/v5.x/index.md b/pages/v5.x/index.md index e4abe0c..eb63423 100644 --- a/pages/v5.x/index.md +++ b/pages/v5.x/index.md @@ -164,18 +164,15 @@ or are automatically applied via regex from your webpack configuration. | Name | Status | Install Size | Description | | :----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------: | :-------------: | :--------------: | :-------------------------------------------------------------------------------------- | | | ![html-npm] | ![html-size] | Exports HTML as string, requires references to static resources | -| | ![pug-npm] | ![pug-size] | Loads Pug templates and returns a function | -| | ![pug3-npm] | ![pug3-size] | Compiles Pug to a function or HTML string, useful for use with Vue, React, Angular | +| | ![pug-npm] | ![pug-size] | Compiles Pug to a function or HTML string, useful for use with Vue, React, Angular | | | ![md-npm] | ![md-size] | Compiles Markdown to HTML | | | ![posthtml-npm] | ![posthtml-size] | Loads and transforms a HTML file using [PostHTML](https://github.com/posthtml/posthtml) | | | ![hbs-npm] | ![hbs-size] | Compiles Handlebars to HTML | [html-npm]: https://img.shields.io/npm/v/html-loader.svg [html-size]: https://packagephobia.com/badge?p=html-loader -[pug-npm]: https://img.shields.io/npm/v/pug-loader.svg -[pug-size]: https://packagephobia.com/badge?p=pug-loader -[pug3-npm]: https://img.shields.io/npm/v/@webdiscus/pug-loader.svg -[pug3-size]: https://packagephobia.com/badge?p=@webdiscus/pug-loader +[pug-npm]: https://img.shields.io/npm/v/@webdiscus/pug-loader.svg +[pug-size]: https://packagephobia.com/badge?p=@webdiscus/pug-loader [jade-npm]: https://img.shields.io/npm/v/jade-loader.svg [jade-size]: https://packagephobia.com/badge?p=jade-loader [md-npm]: https://img.shields.io/npm/v/markdown-loader.svg diff --git a/pages/v5.x/type-map.json b/pages/v5.x/type-map.json index 11ce1f6..703c3bc 100644 --- a/pages/v5.x/type-map.json +++ b/pages/v5.x/type-map.json @@ -1003,6 +1003,7 @@ "RuntimeGlobals.chunkCallback": "webpack/namespaces/RuntimeGlobals.md#chunkcallback", "RuntimeGlobals.chunkName": "webpack/namespaces/RuntimeGlobals.md#chunkname", "RuntimeGlobals.compatGetDefaultExport": "webpack/namespaces/RuntimeGlobals.md#compatgetdefaultexport", + "RuntimeGlobals.compileWasm": "webpack/namespaces/RuntimeGlobals.md#compilewasm", "RuntimeGlobals.createFakeNamespaceObject": "webpack/namespaces/RuntimeGlobals.md#createfakenamespaceobject", "RuntimeGlobals.createScript": "webpack/namespaces/RuntimeGlobals.md#createscript", "RuntimeGlobals.createScriptUrl": "webpack/namespaces/RuntimeGlobals.md#createscripturl", @@ -3461,6 +3462,7 @@ "PathData.filename": "globals.md#filename", "PathData.hash": "globals.md#hash", "PathData.hashWithLength": "globals.md#hashwithlength", + "PathData.local": "globals.md#local", "PathData.module": "globals.md#module", "PathData.noChunkHash": "globals.md#nochunkhash", "PathData.prepareId": "globals.md#prepareid", @@ -3505,6 +3507,7 @@ "ResolveData.fileDependencies": "globals.md#filedependencies", "ResolveData.ignoredModule": "globals.md#ignoredmodule", "ResolveData.missingDependencies": "globals.md#missingdependencies", + "ResolveData.phase": "globals.md#phase", "ResolveData.request": "globals.md#request", "ResolveData.resolveOptions": "globals.md#resolveoptions", "ResolveOptions": "globals.md#resolveoptions", @@ -3555,6 +3558,7 @@ "RuleSetRule.oneOf": "globals.md#oneof", "RuleSetRule.options": "globals.md#options", "RuleSetRule.parser": "globals.md#parser", + "RuleSetRule.phase": "globals.md#phase", "RuleSetRule.realResource": "globals.md#realresource", "RuleSetRule.resolve": "globals.md#resolve", "RuleSetRule.resource": "globals.md#resource", diff --git a/pages/v5.x/webpack/namespaces/RuntimeGlobals.md b/pages/v5.x/webpack/namespaces/RuntimeGlobals.md index 36f90b8..89b2520 100644 --- a/pages/v5.x/webpack/namespaces/RuntimeGlobals.md +++ b/pages/v5.x/webpack/namespaces/RuntimeGlobals.md @@ -54,6 +54,12 @@ *** +## `compileWasm` + +> **compileWasm**: {"__webpack_require__.vs"} + +*** + ## `createFakeNamespaceObject` > **createFakeNamespaceObject**: {"__webpack_require__.t"} diff --git a/pages/v5.x/webpack/namespaces/dependencies.md b/pages/v5.x/webpack/namespaces/dependencies.md index c1d7fc2..ae0e040 100644 --- a/pages/v5.x/webpack/namespaces/dependencies.md +++ b/pages/v5.x/webpack/namespaces/dependencies.md @@ -30,13 +30,13 @@ * `EXPORTS_OBJECT_REFERENCED` {string[][]} * `NO_EXPORTS_REFERENCED` {string[][]} * `Template` {ConstDependencyTemplate} -* `TRANSITIVE` {TRANSITIVE} +* `TRANSITIVE` {symbol} ### Methods #### `couldAffectReferencingModule()` -* Returns: {boolean|TRANSITIVE} +* Returns: {boolean|symbol} #### `createIgnoredModule(context)` @@ -174,13 +174,13 @@ Update the hash * `getNonOptionalPart` {object} * `NO_EXPORTS_REFERENCED` {string[][]} * `Template` {HarmonyImportDependencyTemplate} -* `TRANSITIVE` {TRANSITIVE} +* `TRANSITIVE` {symbol} ### Methods #### `couldAffectReferencingModule()` -* Returns: {boolean|TRANSITIVE} +* Returns: {boolean|symbol} #### `createIgnoredModule(context)` @@ -339,13 +339,13 @@ Update the hash * `EXPORTS_OBJECT_REFERENCED` {string[][]} * `NO_EXPORTS_REFERENCED` {string[][]} * `Template` {DependencyTemplate} -* `TRANSITIVE` {TRANSITIVE} +* `TRANSITIVE` {symbol} ### Methods #### `couldAffectReferencingModule()` -* Returns: {boolean|TRANSITIVE} +* Returns: {boolean|symbol} #### `createIgnoredModule(context)` @@ -475,13 +475,13 @@ Update the hash * `EXPORTS_OBJECT_REFERENCED` {string[][]} * `NO_EXPORTS_REFERENCED` {string[][]} * `Template` {NullDependencyTemplate} -* `TRANSITIVE` {TRANSITIVE} +* `TRANSITIVE` {symbol} ### Methods #### `couldAffectReferencingModule()` -* Returns: {boolean|TRANSITIVE} +* Returns: {boolean|symbol} #### `createIgnoredModule(context)` diff --git a/pages/v5.x/webpack/namespaces/esm.md b/pages/v5.x/webpack/namespaces/esm.md index 4423cb9..63f4504 100644 --- a/pages/v5.x/webpack/namespaces/esm.md +++ b/pages/v5.x/webpack/namespaces/esm.md @@ -20,41 +20,41 @@ * `buildMeta` {BuildMeta} * `chunk` {Chunk} * `chunkGraph` {ChunkGraph} -* `chunksIterable` {Iterable} +* `chunksIterable` {Iterable} * `codeGenerationDependencies` {Dependency[]} * `compilation` {Compilation} * `context` {string} * `debugId` {number} * `dependencies` {Dependency[]} * `dependentHash` {boolean} -* `depth` {number} +* `depth` {number} * `errors` {any} * `exportsArgument` {string} * `factoryMeta` {FactoryMeta} * `fullHash` {boolean} * `hasEqualsChunks` {any} -* `hash` {string} +* `hash` {string} * `hot` {boolean} * `id` {string|number} -* `index` {number} -* `index2` {number} -* `issuer` {Module} +* `index` {number} +* `index2` {number} +* `issuer` {Module} * `isUsed` {any} * `layer` {string} * `moduleArgument` {string} * `name` {string} * `needId` {boolean} * `optimizationBailout` {string|object[]} -* `optional` {boolean} +* `optional` {boolean} * `parent` {DependenciesBlock} * `presentationalDependencies` {Dependency[]} -* `profile` {ModuleProfile} -* `renderedHash` {string} +* `profile` {ModuleProfile} +* `renderedHash` {string} * `resolveOptions` {ResolveOptions} * `stage` {number} * `type` {string} * `used` {any} -* `usedExports` {boolean|SortableSet} +* `usedExports` {boolean|SortableSet} * `useSimpleSourceMap` {boolean} * `useSourceMap` {boolean} * `warnings` {any} @@ -83,6 +83,8 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `addChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -167,6 +169,8 @@ removes all warnings and errors #### `getChunks()` +> Stability: 0 - Deprecated + * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -190,6 +194,8 @@ removes all warnings and errors #### `getNumberOfChunks()` +> Stability: 0 - Deprecated + * Returns: {number} #### `getNumberOfErrors()` @@ -275,10 +281,14 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `isInChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -289,6 +299,8 @@ This data will be passed to restoreFromUnsafeCache later. #### `isProvided(exportName)` +> Stability: 0 - Deprecated + * `exportName` {string} * Returns: {boolean} @@ -328,6 +340,8 @@ Use needBuild instead #### `removeChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {void} diff --git a/pages/v5.x/webpack/namespaces/runtime.md b/pages/v5.x/webpack/namespaces/runtime.md index db01c97..cfec132 100644 --- a/pages/v5.x/webpack/namespaces/runtime.md +++ b/pages/v5.x/webpack/namespaces/runtime.md @@ -25,7 +25,7 @@ * `buildMeta` {BuildMeta} * `chunk` {Chunk} * `chunkGraph` {ChunkGraph} -* `chunksIterable` {Iterable} +* `chunksIterable` {Iterable} * `codeGenerationDependencies` {Dependency[]} * `compilation` {Compilation} * `contentType` {string} @@ -33,7 +33,7 @@ * `debugId` {number} * `dependencies` {Dependency[]} * `dependentHash` {boolean} -* `depth` {number} +* `depth` {number} * `errors` {any} * `exportsArgument` {string} * `factoryMeta` {FactoryMeta} @@ -41,28 +41,28 @@ * `getFilenameForChunk` {object} * `global` {string} * `hasEqualsChunks` {any} -* `hash` {string} +* `hash` {string} * `hot` {boolean} * `id` {string|number} -* `index` {number} -* `index2` {number} -* `issuer` {Module} +* `index` {number} +* `index2` {number} +* `issuer` {Module} * `isUsed` {any} * `layer` {string} * `moduleArgument` {string} * `name` {string} * `needId` {boolean} * `optimizationBailout` {string|object[]} -* `optional` {boolean} +* `optional` {boolean} * `parent` {DependenciesBlock} * `presentationalDependencies` {Dependency[]} -* `profile` {ModuleProfile} -* `renderedHash` {string} +* `profile` {ModuleProfile} +* `renderedHash` {string} * `resolveOptions` {ResolveOptions} * `stage` {number} * `type` {string} * `used` {any} -* `usedExports` {boolean|SortableSet} +* `usedExports` {boolean|SortableSet} * `useSimpleSourceMap` {boolean} * `useSourceMap` {boolean} * `warnings` {any} @@ -91,6 +91,8 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `addChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -175,6 +177,8 @@ removes all warnings and errors #### `getChunks()` +> Stability: 0 - Deprecated + * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -198,6 +202,8 @@ removes all warnings and errors #### `getNumberOfChunks()` +> Stability: 0 - Deprecated + * Returns: {number} #### `getNumberOfErrors()` @@ -283,10 +289,14 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `isInChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -297,6 +307,8 @@ This data will be passed to restoreFromUnsafeCache later. #### `isProvided(exportName)` +> Stability: 0 - Deprecated + * `exportName` {string} * Returns: {boolean} @@ -336,6 +348,8 @@ Use needBuild instead #### `removeChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {void} @@ -416,41 +430,41 @@ In webpack 6, call getSourceBasicTypes() directly on the module instance instead * `buildMeta` {BuildMeta} * `chunk` {Chunk} * `chunkGraph` {ChunkGraph} -* `chunksIterable` {Iterable} +* `chunksIterable` {Iterable} * `codeGenerationDependencies` {Dependency[]} * `compilation` {Compilation} * `context` {string} * `debugId` {number} * `dependencies` {Dependency[]} * `dependentHash` {boolean} -* `depth` {number} +* `depth` {number} * `errors` {any} * `exportsArgument` {string} * `factoryMeta` {FactoryMeta} * `fullHash` {boolean} * `hasEqualsChunks` {any} -* `hash` {string} +* `hash` {string} * `hot` {boolean} * `id` {string|number} -* `index` {number} -* `index2` {number} -* `issuer` {Module} +* `index` {number} +* `index2` {number} +* `issuer` {Module} * `isUsed` {any} * `layer` {string} * `moduleArgument` {string} * `name` {string} * `needId` {boolean} * `optimizationBailout` {string|object[]} -* `optional` {boolean} +* `optional` {boolean} * `parent` {DependenciesBlock} * `presentationalDependencies` {Dependency[]} -* `profile` {ModuleProfile} -* `renderedHash` {string} +* `profile` {ModuleProfile} +* `renderedHash` {string} * `resolveOptions` {ResolveOptions} * `stage` {number} * `type` {string} * `used` {any} -* `usedExports` {boolean|SortableSet} +* `usedExports` {boolean|SortableSet} * `useSimpleSourceMap` {boolean} * `useSourceMap` {boolean} * `warnings` {any} @@ -479,6 +493,8 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `addChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -563,6 +579,8 @@ removes all warnings and errors #### `getChunks()` +> Stability: 0 - Deprecated + * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -586,6 +604,8 @@ removes all warnings and errors #### `getNumberOfChunks()` +> Stability: 0 - Deprecated + * Returns: {number} #### `getNumberOfErrors()` @@ -671,10 +691,14 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `isInChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -685,6 +709,8 @@ This data will be passed to restoreFromUnsafeCache later. #### `isProvided(exportName)` +> Stability: 0 - Deprecated + * `exportName` {string} * Returns: {boolean} @@ -724,6 +750,8 @@ Use needBuild instead #### `removeChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {void} diff --git a/pages/v5.x/webpack/namespaces/web.md b/pages/v5.x/webpack/namespaces/web.md index eb5fa3a..23fd0b6 100644 --- a/pages/v5.x/webpack/namespaces/web.md +++ b/pages/v5.x/webpack/namespaces/web.md @@ -20,41 +20,41 @@ * `buildMeta` {BuildMeta} * `chunk` {Chunk} * `chunkGraph` {ChunkGraph} -* `chunksIterable` {Iterable} +* `chunksIterable` {Iterable} * `codeGenerationDependencies` {Dependency[]} * `compilation` {Compilation} * `context` {string} * `debugId` {number} * `dependencies` {Dependency[]} * `dependentHash` {boolean} -* `depth` {number} +* `depth` {number} * `errors` {any} * `exportsArgument` {string} * `factoryMeta` {FactoryMeta} * `fullHash` {boolean} * `hasEqualsChunks` {any} -* `hash` {string} +* `hash` {string} * `hot` {boolean} * `id` {string|number} -* `index` {number} -* `index2` {number} -* `issuer` {Module} +* `index` {number} +* `index2` {number} +* `issuer` {Module} * `isUsed` {any} * `layer` {string} * `moduleArgument` {string} * `name` {string} * `needId` {boolean} * `optimizationBailout` {string|object[]} -* `optional` {boolean} +* `optional` {boolean} * `parent` {DependenciesBlock} * `presentationalDependencies` {Dependency[]} -* `profile` {ModuleProfile} -* `renderedHash` {string} +* `profile` {ModuleProfile} +* `renderedHash` {string} * `resolveOptions` {ResolveOptions} * `stage` {number} * `type` {string} * `used` {any} -* `usedExports` {boolean|SortableSet} +* `usedExports` {boolean|SortableSet} * `useSimpleSourceMap` {boolean} * `useSourceMap` {boolean} * `warnings` {any} @@ -83,6 +83,8 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `addChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -167,6 +169,8 @@ removes all warnings and errors #### `getChunks()` +> Stability: 0 - Deprecated + * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -190,6 +194,8 @@ removes all warnings and errors #### `getNumberOfChunks()` +> Stability: 0 - Deprecated + * Returns: {number} #### `getNumberOfErrors()` @@ -275,10 +281,14 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `isInChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -289,6 +299,8 @@ This data will be passed to restoreFromUnsafeCache later. #### `isProvided(exportName)` +> Stability: 0 - Deprecated + * `exportName` {string} * Returns: {boolean} @@ -328,6 +340,8 @@ Use needBuild instead #### `removeChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {void} @@ -455,41 +469,41 @@ Apply the plugin * `buildMeta` {BuildMeta} * `chunk` {Chunk} * `chunkGraph` {ChunkGraph} -* `chunksIterable` {Iterable} +* `chunksIterable` {Iterable} * `codeGenerationDependencies` {Dependency[]} * `compilation` {Compilation} * `context` {string} * `debugId` {number} * `dependencies` {Dependency[]} * `dependentHash` {boolean} -* `depth` {number} +* `depth` {number} * `errors` {any} * `exportsArgument` {string} * `factoryMeta` {FactoryMeta} * `fullHash` {boolean} * `hasEqualsChunks` {any} -* `hash` {string} +* `hash` {string} * `hot` {boolean} * `id` {string|number} -* `index` {number} -* `index2` {number} -* `issuer` {Module} +* `index` {number} +* `index2` {number} +* `issuer` {Module} * `isUsed` {any} * `layer` {string} * `moduleArgument` {string} * `name` {string} * `needId` {boolean} * `optimizationBailout` {string|object[]} -* `optional` {boolean} +* `optional` {boolean} * `parent` {DependenciesBlock} * `presentationalDependencies` {Dependency[]} -* `profile` {ModuleProfile} -* `renderedHash` {string} +* `profile` {ModuleProfile} +* `renderedHash` {string} * `resolveOptions` {ResolveOptions} * `stage` {number} * `type` {string} * `used` {any} -* `usedExports` {boolean|SortableSet} +* `usedExports` {boolean|SortableSet} * `useSimpleSourceMap` {boolean} * `useSourceMap` {boolean} * `warnings` {any} @@ -518,6 +532,8 @@ This is used for when a Module has a AsyncDependencyBlock tie (for code-splittin #### `addChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -602,6 +618,8 @@ removes all warnings and errors #### `getChunks()` +> Stability: 0 - Deprecated + * Returns: {Chunk[]} #### `getConcatenationBailoutReason(context)` @@ -625,6 +643,8 @@ removes all warnings and errors #### `getNumberOfChunks()` +> Stability: 0 - Deprecated + * Returns: {number} #### `getNumberOfErrors()` @@ -710,10 +730,14 @@ This data will be passed to restoreFromUnsafeCache later. #### `isEntryModule()` +> Stability: 0 - Deprecated + * Returns: {boolean} #### `isInChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {boolean} @@ -724,6 +748,8 @@ This data will be passed to restoreFromUnsafeCache later. #### `isProvided(exportName)` +> Stability: 0 - Deprecated + * `exportName` {string} * Returns: {boolean} @@ -763,6 +789,8 @@ Use needBuild instead #### `removeChunk(chunk)` +> Stability: 0 - Deprecated + * `chunk` {Chunk} * Returns: {void}