preload-webpack-plugin
preload-webpack-plugin copied to clipboard
Use regex in 'include' option
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