Skip to content
This repository has been archived by the owner on Jan 21, 2021. It is now read-only.

Use regex in 'include' option #137

Open
ATrogolo opened this issue Nov 26, 2020 · 0 comments
Open

Use regex in 'include' option #137

ATrogolo opened this issue Nov 26, 2020 · 0 comments

Comments

@ATrogolo
Copy link

ATrogolo commented Nov 26, 2020

Hi @jeffposnick,
what do you think about if the option 'include' can accept regex items?

This addresses a problem when the SplitChunks Webpack plugin returns chunks' names which share a "common" part.
i.e.:
package1-package2-vendors.[hash].js
package3-package4-vendors.[hash].js

As if we'd like to preload every asset with "vendors" in the chunk name.

Please, let me know about

Cheers,
Andrea

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant