You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Instead of having to import JSON file with import type assertion (which unexpectedly breaks stuff):
import crawlers from 'crawler-user-agents' with { type: 'json' }
... could we have an .mjs entry point for JavaScript/TypeScript users?
The text was updated successfully, but these errors were encountered:
DamianGlowala
changed the title
Consider generating an export with named/default variable holding content from JSON
Consider adding .mjs export
Sep 18, 2024
Instead of having to import JSON file with import type assertion (which unexpectedly breaks stuff):
... could we have an
.mjs
entry point for JavaScript/TypeScript users?The text was updated successfully, but these errors were encountered: