Skip to content

Glob support in optimizeDeps.include #5419

@sxzz

Description

@sxzz

Clear and concise description of the problem

In some libraries, files in different paths need to be loaded frequently. The page will be refreshed every pre-build. So it is necessary to pre-build all the files that may be used at startup.

So I think glob should be supported to easily add files that may be needed.

image

Suggested solution

support glob in optimizeDeps.include/exclude

Alternative

No response

Additional context

Related issue #699 #1545
Related pr #1571

Validations

Metadata

Metadata

Assignees

Labels

enhancementNew feature or requestp2-nice-to-haveNot breaking anything but nice to have (priority)

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions