Skip to content
Discussion options

You must be logged in to vote

There's no builtin way to achieve this. But a transformer plugin could achieve this by reading in the yaml and outputting a JS file that looks something like

export default [{title: "...", subtitle: "...", logo: new URL("assets/prometheus_logo.png", import.meta.url)}];

And that would then work with the existing Parcel features.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@rombert
Comment options

Answer selected by rombert
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants