Compile to JSON #122
Unanswered
mikaelkaron
asked this question in
Q&A
Replies: 1 comment 3 replies
-
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I've created a fairly simple RX pipeline to transform
VFiles
that looks like this:Now this works fine, but I'd like to know if there's a way to move the JSON serialization into the default
transformer
rather than themergeMap
.Ideally I'd probably want to replace
html
with a newjson
plugin (feels like both are redundant). I was fiddling a little bit withrehype-stringify
but never really got it working as I wanted.Beta Was this translation helpful? Give feedback.
All reactions