Skip to content

Conversation

@jselig-rigetti
Copy link

@jselig-rigetti jselig-rigetti commented Dec 5, 2025

Export the duration module, allowing the utility to be used without the HTML element.

My current workaround is to have this in a package.json postinstall script

TARGET=node_modules/@github/relative-time-element/package.json
cat <<< "$(jq '.exports["./duration"] = "./dist/duration.js"' $TARGET)" > $TARGET

Export the duration module, allowing the utility to be used without the HTML element
@jselig-rigetti jselig-rigetti requested a review from a team as a code owner December 5, 2025 03:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant