lit-analyzer icon indicating copy to clipboard operation
lit-analyzer copied to clipboard

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

Open justinfagnani opened this issue 2 years ago • 0 comments

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.

justinfagnani avatar Aug 25 '21 17:08 justinfagnani