runem / lit-analyzer

Monorepository for tools that analyze lit-html templates
MIT License
319 stars 38 forks source link

[lit-analyzer] lit-analyzer uses non-standard JSON imports #195

Open justinfagnani opened 3 years ago

justinfagnani commented 3 years ago

See https://github.com/runem/lit-analyzer/blob/master/packages/lit-analyzer/src/lib/analyze/data/get-built-in-html-collection.ts#L3

This prevents us from publishing standard JS modules and complicates Rollup builds.

We should move to fetch() and possibly top-level await, until standard JSON modules are available everywhere in the support matrix.