Skip to content

Commit ef60be6

Browse files
committed
feat: render constructors in Node.js API style (new ClassName)
1 parent a21a41a commit ef60be6

26 files changed

Lines changed: 161 additions & 138 deletions

File tree

pages/v5.x/globals.md

Lines changed: 65 additions & 65 deletions
Large diffs are not rendered by default.

pages/v5.x/webpack/namespaces/cache.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Constructors
66

7-
#### Constructor
7+
#### `new MemoryCachePlugin()`
88

99
* Returns: {MemoryCachePlugin}
1010

pages/v5.x/webpack/namespaces/container.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Constructors
66

7-
#### Constructor
7+
#### `new ContainerPlugin(options)`
88

99
* `options` {ContainerPluginOptions}
1010
* Returns: {ContainerPlugin}
@@ -28,7 +28,7 @@ Apply the plugin
2828

2929
### Constructors
3030

31-
#### Constructor
31+
#### `new ContainerReferencePlugin(options)`
3232

3333
* `options` {ContainerReferencePluginOptions}
3434
* Returns: {ContainerReferencePlugin}
@@ -52,7 +52,7 @@ Apply the plugin
5252

5353
### Constructors
5454

55-
#### Constructor
55+
#### `new ModuleFederationPlugin(options)`
5656

5757
* `options` {ModuleFederationPluginOptions}
5858
* Returns: {ModuleFederationPlugin}

pages/v5.x/webpack/namespaces/css.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Constructors
66

7-
#### Constructor
7+
#### `new CssModulesPlugin()`
88

99
* Returns: {CssModulesPlugin}
1010

pages/v5.x/webpack/namespaces/debug.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Constructors
66

7-
#### Constructor
7+
#### `new ProfilingPlugin([options])`
88

99
* `options` {ProfilingPluginOptions}
1010
* Returns: {ProfilingPlugin}

pages/v5.x/webpack/namespaces/dependencies.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
### Constructors
1010

11-
#### Constructor
11+
#### `new ConstDependency(expression, range[, runtimeRequirements])`
1212

1313
* `expression` {string}
1414
* `range` {number|number|number}
@@ -146,7 +146,7 @@ Update the hash
146146

147147
### Constructors
148148

149-
#### Constructor
149+
#### `new HarmonyImportDependency(request, sourceOrder[, phase][, attributes])`
150150

151151
* `request` {string}
152152
* `sourceOrder` {number}
@@ -317,7 +317,7 @@ Update the hash
317317

318318
### Constructors
319319

320-
#### Constructor
320+
#### `new ModuleDependency(request[, sourceOrder])`
321321

322322
* `request` {string}
323323
* `sourceOrder` {number}
@@ -459,7 +459,7 @@ Update the hash
459459

460460
### Constructors
461461

462-
#### Constructor
462+
#### `new NullDependency()`
463463

464464
* Returns: {NullDependency}
465465

pages/v5.x/webpack/namespaces/electron.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Constructors
66

7-
#### Constructor
7+
#### `new ElectronTargetPlugin([context])`
88

99
* `context` {"main"|"preload"|"renderer"}
1010
* Returns: {ElectronTargetPlugin}

pages/v5.x/webpack/namespaces/esm.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
### Constructors
1010

11-
#### Constructor
11+
#### `new ModuleChunkLoadingRuntimeModule(runtimeRequirements)`
1212

1313
* `runtimeRequirements` {ReadonlySet}
1414
* Returns: {ModuleChunkLoadingRuntimeModule}

pages/v5.x/webpack/namespaces/experiments/namespaces/ids.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Constructors
66

7-
#### Constructor
7+
#### `new SyncModuleIdsPlugin(options)`
88

99
* `options` {SyncModuleIdsPluginOptions}
1010
* Returns: {SyncModuleIdsPlugin}

pages/v5.x/webpack/namespaces/experiments/namespaces/schemes.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
### Constructors
66

7-
#### Constructor
7+
#### `new HttpUriPlugin(options)`
88

99
* `options` {HttpUriOptions}
1010
* Returns: {HttpUriPlugin}
@@ -28,7 +28,7 @@ Apply the plugin
2828

2929
### Constructors
3030

31-
#### Constructor
31+
#### `new VirtualUrlPlugin(modules[, schemeOrOptions])`
3232

3333
* `modules` {VirtualModules}
3434
* `schemeOrOptions` {string|Omit}

0 commit comments

Comments
 (0)