Closed splitinfinities closed 2 years ago
Hey there, the best way to help the project is by testing the analyzer on stencil components and helping improve it where needed. Its currently tested against: https://github.com/open-wc/custom-elements-manifest/blob/master/packages/analyzer/fixtures/plugin-stencil/package/my-element.js but stencil support isnt very battle-tested yet against real projects. Itd be really great to improve on that.
Additionally itd be really nice to start getting CEM in Stencils tooling/workflows by default to get the wider web components community to support CEM :)
I'll get started! Thanks!
Hey there @thepassle! This tool is looking amazing for CEM. Is there anything I can do to help improve the Stencil compatibility, either within this code or within Stencil?
I can't quite tell if analyzer code is parsing TypeScript or if you're parsing final compiled files. We do have an output target format that doesn't include the lazy loading which splits definitions out into their own files -
dist-custom-elements
. Would targeting that help?