Hi, I have a goal to inject custom element on the page using browser extension.
I am not going to take old browsers into consideration and thus I don’t need any polyfills or ‘nomodule’ script tags. I am using ‘dist’ output type.
And I have following questions:
- Is it possible to avoid component lazy loading?
- Will such built bundle encapsulate my js code, and prevent it from clashing with js on the page? (if I don’t use global state)
- custom element will be registered automatically? Does stencil checks that component already registered as custom element?
Thanks!