jlengstorf/get-share-image
View on GitHubexport valid ESM so this works better with modern builds
Open
#17 opened on Nov 5, 2020
enhancementhelp wanted
Repository metrics
- Stars
- (187 stars)
- PR merge metrics
- (PR metrics pending)
Description
right now we have to do this:
import getShareImageModule from '@jlengstorf/get-share-image';
const getShareImage = getShareImageModule.default;
that's fine, but not great
to fix it we need to update the TS export to target ESM properly (or drop TS support if it's too much work)