diff --git a/src/content/api/module-methods.mdx b/src/content/api/module-methods.mdx index dd7942f51343..c2c095404efb 100644 --- a/src/content/api/module-methods.mdx +++ b/src/content/api/module-methods.mdx @@ -187,7 +187,7 @@ A name for the new chunk. Since webpack 2.6.0, the placeholders `[index]` and `[ -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. +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. ```js import( diff --git a/src/content/configuration/module.mdx b/src/content/configuration/module.mdx index 065abf50153a..17b89833d1e8 100644 --- a/src/content/configuration/module.mdx +++ b/src/content/configuration/module.mdx @@ -481,7 +481,7 @@ const x = require(/* webpackIgnore: true */ 'x'); #### module.parser.javascript.dynamicImportFetchPriority -Specify the global [fetchPriority](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/fetchPriority) for dynamic import. +Specify the global [fetchPriority](https://developer.mozilla.org/en-US/docs/Web/API/HTMLScriptElement/fetchPriority) for dynamic import. - Type: `'low' | 'high' | 'auto' | false` - Available: 5.87.0+