Uncaught TypeError: _tmpl$6 is not a function
I'm trying to create a library that exposes a web component that's implemented internally with Solid.js. I'm using Rollup with rollup-preset-solid to bundle the library as an ESModule, but when I try to consume the library I get this error.
This is my rollup config file:
Online research suggests that this is because of improper JSX compilation, but I'm not sure what I'm doing wrong. Any ideas?
1 Reply
I solved this by upgrading the Solid.js version in the host app (it was on an older major version)!