I followed the docs provided for React integration. Build that does not produce straight forward results.
I had to tweak package json in stencil to make it work for React consumer application. And it does not work for NextJs for a simple component. I used Rollup for cjs modules as well but React output files refer to Stencil .js components files which an ESM again.
Does anyone have a running app or example to go through?