Clone the reproduction repo and follow the steps from the repo readme to run the SSR build and repro the issue
The component works the same in the dev (vite) build and the production (rollup) build during SSR
The dev build SSR works fine, but the production SSR build fails with render function or template not defined in component: carousel
I created an issue in the repo for the external component, but upon further reflection I think this might be a more general vue (or maybe rollup?) issue.
I tried asking on discord in the #vue-2 channel, but no one replied unfortunately.
This work fine with webpack
So I'm not sure whether this issue stems from the lib, vite, vue2 vite plugin or rollup.
|Issue Title||Created Date||Updated Date|