Skip to content

Commit 1f7ad71

Browse files
svlapinEugeneHlushko
authored andcommitted
fix(links): fix achor links to /output (#2940)
1 parent 0491c4b commit 1f7ad71

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

src/content/configuration/configuration-types.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ module.exports = () => {
6262

6363
## Exporting multiple configurations
6464

65-
Instead of exporting a single configuration object/function, you may export multiple configurations (multiple functions are supported since webpack 3.1.0). When running webpack, all configurations are built. For instance, this is useful for [bundling a library](/guides/author-libraries) for multiple [targets](/configuration/output#output-librarytarget) such as AMD and CommonJS:
65+
Instead of exporting a single configuration object/function, you may export multiple configurations (multiple functions are supported since webpack 3.1.0). When running webpack, all configurations are built. For instance, this is useful for [bundling a library](/guides/author-libraries) for multiple [targets](/configuration/output#outputlibrarytarget) such as AMD and CommonJS:
6666

6767
```js
6868
module.exports = [{

src/content/configuration/entry-context.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,4 +91,4 @@ module.exports = {
9191
};
9292
```
9393

94-
When combining with the [`output.library`](/configuration/output#output-library) option: If an array is passed only the last item is exported.
94+
When combining with the [`output.library`](/configuration/output#outputlibrary) option: If an array is passed only the last item is exported.

src/content/configuration/externals.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ module.exports = {
8383

8484
### object
8585

86-
W> An object with `{ root, amd, commonjs, ... }` is only allowed for [`libraryTarget: 'umd'`](/configuration/output/#output-librarytarget). It's not allowed for other library targets.
86+
W> An object with `{ root, amd, commonjs, ... }` is only allowed for [`libraryTarget: 'umd'`](/configuration/output/#outputlibrarytarget). It's not allowed for other library targets.
8787

8888
```javascript
8989
module.exports = {

src/content/guides/author-libraries.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ You can expose the library in the following ways:
297297
- Window: available trough the `window` object, in the browser (`libraryTarget:'window'`).
298298
- UMD: available after AMD or CommonJS `require` (`libraryTarget:'umd'`).
299299

300-
If `library` is set and `libraryTarget` is not, `libraryTarget` defaults to `var` as specified in the [output configuration documentation](/configuration/output). See [`output.libraryTarget`](/configuration/output#output-librarytarget) there for a detailed list of all available options.
300+
If `library` is set and `libraryTarget` is not, `libraryTarget` defaults to `var` as specified in the [output configuration documentation](/configuration/output). See [`output.libraryTarget`](/configuration/output#outputlibrarytarget) there for a detailed list of all available options.
301301

302302
W> With webpack 3.5.5, using `libraryTarget: { root:'_' }` doesn't work properly (as stated in [issue 4824](https://github.com/webpack/webpack/issues/4824)). However, you can set `libraryTarget: { var: '_' }` to expect the library as a global variable.
303303

src/content/plugins/dll-plugin.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ new webpack.DllPlugin(options);
3030

3131
Creates a `manifest.json` which is written to the given `path`. It contains mappings from require and import requests, to module ids. It is used by the `DllReferencePlugin`.
3232

33-
Combine this plugin with [`output.library`](/configuration/output/#output-library) option to expose (aka, put into the global scope) the dll function.
33+
Combine this plugin with [`output.library`](/configuration/output/#outputlibrary) option to expose (aka, put into the global scope) the dll function.
3434

3535

3636
## `DllReferencePlugin`
@@ -42,15 +42,15 @@ This plugin is used in the primary webpack config, it references the dll-only-bu
4242
- `content` (optional): the mappings from request to module id (defaults to `manifest.content`)
4343
- `name` (optional): the name where the dll is exposed (defaults to `manifest.name`) (see also [`externals`](/configuration/externals/))
4444
- `scope` (optional): prefix which is used for accessing the content of the dll
45-
- `sourceType` (optional): how the dll is exposed ([libraryTarget](/configuration/output/#output-librarytarget))
45+
- `sourceType` (optional): how the dll is exposed ([libraryTarget](/configuration/output/#outputlibrarytarget))
4646

4747
```javascript
4848
new webpack.DllReferencePlugin(options);
4949
```
5050

5151
References a dll manifest file to map dependency names to module ids, then requires them as needed using the internal `__webpack_require__` function.
5252

53-
W> Keep the `name` consistent with [`output.library`](/configuration/output/#output-library).
53+
W> Keep the `name` consistent with [`output.library`](/configuration/output/#outputlibrary).
5454

5555

5656
### Modes

0 commit comments

Comments
 (0)