You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
About attributes: the main issue here is that there's no support for the inline attribute from posthtml-inline-assets. This is something you gotta ask directly to them, since I'm only a downstream consumer of their package. It doesn't really make sense adding it in this package here.
About using configuration from a JSON or something: I'm not sure if there's a canonical way of adding configuration to a Parcel V1 plugin. I might be wrong. If there is, let me know and I will try.
Also, Parcel V2 requires plugins to be rewritten from scratch. They have a completely new structure, completely different code, and even the name is different, it can't start with parcel-plugin- AFAIK. It would be more of a fork than an update. I'm not in the ecosystem anymore, so I'm not sure if I'm the right person to do it.
This plugin is great.
I would like to utilize some more options of
posthtml-inline-assets
to inline only certain resources.My use case is that I need to inline CSS for a splash screen or above the fold content only.
Proposal
resolve
optiondata-inline
boolean attributeAlternatively if it would work the same as in Parcel V2, that would be great too.
https://parceljs.org/languages/html/#inline-script-and-style-tags
The text was updated successfully, but these errors were encountered: