Skip to content

Commit

Permalink
Handling true
Browse files Browse the repository at this point in the history
  • Loading branch information
aboktor committed Apr 15, 2023
1 parent c1c41a9 commit d9b5f32
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion lib/dependencies/ImportParserPlugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,10 @@ class ImportParserPlugin {
dynamicImportFetchPriority !== undefined &&
dynamicImportFetchPriority !== false
)
groupOptions.fetchPriority = dynamicImportFetchPriority;
groupOptions.fetchPriority =
dynamicImportFetchPriority === true
? "auto"
: dynamicImportFetchPriority;
if (
dynamicImportPrefetch !== undefined &&
dynamicImportPrefetch !== false
Expand Down

0 comments on commit d9b5f32

Please sign in to comment.