CanopyTax / kremling

Embarrassingly simple css for React
https://kremling.js.org
Apache License 2.0
36 stars 4 forks source link

"k" template literal tag #33

Closed geoctrl closed 5 years ago

geoctrl commented 5 years ago

please see kremling-loader#8 for an explanation of what krem is for and how it's used

geoctrl commented 5 years ago

the "k" template literal tag now handles both kremling-inline-loader strings and regular ampersand strings.

if kremling-inline-loader is used, this tag will compile the string into an object (just like kremling-loader)

otherwise, it will just return the same string.