numical / script-ext-html-webpack-plugin

Enhances html-webpack-plugin functionality with different deployment options for your scripts including 'async', 'preload', 'prefetch', 'defer', 'module', custom attributes, and inlining.
MIT License
588 stars 105 forks source link

`crossorigin` for prefetched chunks #47

Closed fb55 closed 6 years ago

fb55 commented 6 years ago

Afaict while there is a way to add the crossorigin attribute to script tags, it is not possible to do the same for link tags. It would be great if this could be added.

numical commented 6 years ago

Not yet. Looking at this with PR53

numical commented 6 years ago

This is available from v2.1.0 onwards. Let me know if it does not work for you.