On https://histoire.dev/guide/config.html it says The second option is to provide the Histoire config object directly in your Vite config file vite.config.{js,ts}. but you can't do this when you use HstVue. You'll get this error:
✘ [ERROR] "@histoire/plugin-vue" resolved to an ESM file. ESM file cannot be loaded by `require`. See http://vitejs.dev/guide/troubleshooting.html#this-package-is-esm-only for more details. [plugin externalize-deps]
Describe the bug
On https://histoire.dev/guide/config.html it says
The second option is to provide the Histoire config object directly in your Vite config file vite.config.{js,ts}.
but you can't do this when you use HstVue. You'll get this error:Reproduction
https://stackblitz.com/edit/histoire-vue3-starter-hw9lmd?file=vite.config.ts
System Info
Used Package Manager
npm
Validations