Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 534a617

Browse files
docs: update fetchPriority link (#7648)
1 parent d29e103 commit 534a617

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎src/content/api/module-methods.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ A name for the new chunk. Since webpack 2.6.0, the placeholders `[index]` and `[
187187
188188
<Badge text="5.87.0+" />
189189
190-
Set [`fetchPriority`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchPriority) for specific dynamic imports. It's also possible to set a global default value for all dynamic imports by using the [`module.parser.javascript.dynamicImportFetchPriority`](/configuration/module/#moduleparserjavascriptdynamicimportfetchpriority) option.
190+
Set [`fetchPriority`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/fetchPriority) for specific dynamic imports. It's also possible to set a global default value for all dynamic imports by using the [`module.parser.javascript.dynamicImportFetchPriority`](/configuration/module/#moduleparserjavascriptdynamicimportfetchpriority) option.
191191
192192
```js
193193
import(

‎src/content/configuration/module.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -481,7 +481,7 @@ const x = require(/* webpackIgnore: true */ 'x');
481481

482482
#### module.parser.javascript.dynamicImportFetchPriority
483483

484-
Specify the global [fetchPriority](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchPriority) for dynamic import.
484+
Specify the global [fetchPriority](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/fetchPriority) for dynamic import.
485485

486486
- Type: `'low' | 'high' | 'auto' | false`
487487
- Available: 5.87.0+

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /