Open DamianGlowala opened 1 month ago
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?
.mjs
why not, esp if it's backward compatible. pull-request welcome!
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?