Webpack's style-loader has several different injectType
s. It would be nice if some of these options were supported here as well. My motivation for asking is that I'm wondering if the number of style
tags created by the plugin today would result in optimal performance. It seems like we could recalculate the CSSOM fewer times by injecting only a single style
tag per chunk. And injecting the styles via a link
tag might result in reduced data transfer for hydrated apps, which would be quite nice
I think that the extract
option in this plugin creates only a single CSS file? It would be nice if there were a way to create one css chunk per js chunk in order to support this feature. Then I might be able to provide a function to inject
in order to write the link
tag myself.
Pay now to fund the work behind this issue.
Get updates on progress being made.
Maintainer is rewarded once the issue is completed.
You're funding impactful open source efforts
You want to contribute to this effort
You want to get funding like this too