jlengstorf/get-share-image

export valid ESM so this works better with modern builds

Ouverte

#17 ouverte le 5 nov. 2020

 (3 commentaires) (1 réaction) (0 personne assignée)TypeScript (28 forks)github user discovery
enhancementhelp wanted

Métriques du dépôt

Stars
 (187 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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)

Guide contributeur