jlengstorf/get-share-image

export valid ESM so this works better with modern builds

オープン

#17 opened on 2020/11/05

 (3 件のコメント) (1 件のリアクション) (0 人の担当者)TypeScript (28 件のフォーク)github user discovery
enhancementhelp wanted

Repository metrics

Stars
 (187 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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)

コントリビューターガイド