You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When adding lit example in the new browser PR I've found a problem in examples/lit/src/my-button.ts web component:
We're not generating the __vi_esm_0. prefix, and so it is failing in L17 in the screenshot below. I can bypass the problem using:
constLitElementClass=LitElement/** * An example button. * * @slot - This button has a slot */
@customElement('my-button')exportclassMyButtonextendsLitElementClass{
Reproduction
I'm preparing it in the browser PR here in Vitest: #3584
Included lit tests in the browser PR, check the web component in the example, to reproduce it just extends from LitElement instead LitElementClass: change to examples/lit and run nr test:browser.
Describe the bug
When adding
lit
example in the new browser PR I've found a problem inexamples/lit/src/my-button.ts
web component:We're not generating the
__vi_esm_0.
prefix, and so it is failing in L17 in the screenshot below. I can bypass the problem using:Reproduction
I'm preparing it in the browser PR here in Vitest: #3584
System Info
Used Package Manager
pnpm
Validations
The text was updated successfully, but these errors were encountered: