feat: provide html.partial
and css.partial
as standalone tagged template literals
#6961
Labels
area:fast-element
Pertains to fast-element
feature
A new feature
status:under-consideration
Issue is being reviewed by the team.
🙋 Feature Request
It would be very convenient to provide the
html.partial()
andcss.partial
methods as tagged template literal functions. Perhaps both the methods and the tagged template literal functions could coexist:🔦 Context
The
css.partial
andhtml.partial()
methods can't be compressed at build-time with most tagged template literal optimization methods, which usually work by identifying a tagged template literal via an AST. Our current solution is a rollup plugin which accepts an array of tags to optimize, but the AST implementation only seespartial
and not the fullcss.partial
orhtml.partial
.The text was updated successfully, but these errors were encountered: