question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Metadata whitelist

See original GitHub issue

Thanks for the great library!

Is there a way to specify a list of metadata fields that we care to be exported, instead of being a boolean?

We import like this import metadata from '$static/image.png?w=400;800;1200&format=avif;webp;png&metadata'; in order to use the metadata array to build our responsive <picture> element. The problem is that the each metatada object ends up in the final JS bundle 😞 image

I would prefer a syntax like '....&metadata=width;height;format'; if possible.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
JonasKruckenbergcommented, Jul 5, 2021

Sorry for the absence, I’ve not been able to put a lot of work into this project the last few weeks, but I’m aiming at getting this done and dusted in the next couple weeks! I’ll update this once I know more.

0reactions
bekoscommented, Oct 13, 2021
Read more comments on GitHub >

github_iconTop Results From Across the Web

Configure IP address whitelists for metadata collection
Configure an IP address whitelist for metadata collection from a data source. Check whether whitelist-based access control is enabled for the ...
Read more >
IframeWhiteListUrlSettings | Metadata API Developer Guide
Represents settings related to the list of trusted external domains that you allow to frame your Visualforce pages or surveys.
Read more >
Customisation
It is possible to whitelist certain token metadata. Whitelisted meta-data will be returned with search results and it can also be used by...
Read more >
Metadata Filters - Shibboleth 2 - Confluence
Whitelist MetadataFilter. Identified by type="Whitelist" , deletes metadata for any entity not matched inside the plugin's configuration.
Read more >
Add support for metadata whitelisting · Issue #77
lunr.js supports metadata whitelisting look under the TOKEN META-DATA section. This is useful for adding fields into the index so that when ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found