Error with a library built using tsup-preset-solid
When using the library error occurs
If copy the library source code into project the error goes away
The error only occurs if something that is stateful is on top
Library is built using tsup-preset-solid, You can consider that library only contains one file baseStyled which I've already included in the project If you make a package of that file the error occurs
I don't know where to report this, If this is not an issue with tsup-preset-solid and is an issue with something this preset relies on (esbuild-plugin-solid), I could report it further !
Error with a library built using tsup-preset-solid
When using the library error occurs If copy the library source code into project the error goes away The error only occurs if something that is stateful is on top
Here's a reproducer https://github.com/Qawaz/solid-start-issue
Library is built using tsup-preset-solid, You can consider that library only contains one file
baseStyled
which I've already included in the project If you make a package of that file the error occursI don't know where to report this, If this is not an issue with tsup-preset-solid and is an issue with something this preset relies on (esbuild-plugin-solid), I could report it further !