Skip to content

fix: judge include type - #28

Open
2heal1 wants to merge 1 commit into
vuejs:masterfrom
2heal1:fix/judgeInclude
Open

fix: judge include type#28
2heal1 wants to merge 1 commit into
vuejs:masterfrom
2heal1:fix/judgeInclude

Conversation

@2heal1

@2heal1 2heal1 commented Sep 16, 2021

Copy link
Copy Markdown

options.include can be stringarrayobjectundefined .
But only the string type is judged in the code. When I use the below options ,it will be error.

{
  rel: 'preload',
  include: {
    type: 'allAssets',
  }
}

@2heal1

2heal1 commented Sep 16, 2021

Copy link
Copy Markdown
Author

@sodatea this pr can solve this problem,can you review it ?😋

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant