Open baermathias opened 2 years ago
Based on my test it appears to work for lit^2.3.1
We're just in the process of upgrading to lit v2 and use this library. Our usage of the analyzer does not appear to have been broken
PR upgrading to lit 2 https://github.com/microsoftgraph/microsoft-graph-toolkit/pull/1810
If you use yarn to install the dep and then run yarn build:mgt-react
from the root you'll see /packages/mgt-react/temp/web-components.json
is generated as expected
Does this tool already support
lit 2.x
?If I run
wca analyze
on a project which uses new lit version and does the import statements like below, then it doesn't create thecustom-elements.json
, but also gives no error message:But if I run it on a project where files are imported from
lit-element
, it creates thecustom-elements.json
and describes the properties, attributes and events.