I have many web components (each in its own repo) and would like to share one instance of lit-element/lit-html across them all. The idea is to reduce bundle size. I do not want a separate instance in each bundle
I made a Webpack UMD library of lit-element(transpiled to ES5 for IE11) and then in the main application HEAD i have a script tag pointing to my lit-element library. It is marked as an external in Webpack.
This worked great until i started to use typescript and ran into typing issues.
Is there an official typing's file that can be installed on its own? I couldn't find one?