You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please append the error message to the issue. Thank you!
Hi the output is here, I notice [vite:esbuild] in the error, but I have no issue running bunx --bun vite build
$ bunx --bun storybook build --docs --output-dir storybook
@storybook/core v8.6.0
info => Cleaning outputDir: storybook
info => Loading presets
info => Building manager..
info => Manager built (148 ms)
info => Building preview..
info Using tsconfig paths for react-docgen
The CJS build of Vite's Node API is deprecated. See https://vite.dev/guide/troubleshooting.html#vite-cjs-node-api-deprecated for more details.[addon-coverage] Adding istanbul plugin to Vite config[vite:dts] You are building a library that may not need to generate declaration files.vite v6.2.0 building for production...✓ 34 modules transformed.✗ Build failed in 1.23s=> Failed to build the preview[vite:esbuild] failed to resolve "extends":"./tsconfig.dom.json" in ./node_modules/es-proj/tsconfig/tsconfig.react.jsonfile: ./.storybook/preview.ts at new TSConfckParseError (./node_modules/vite/dist/node/chunks/dep-ByPKlqZ5.js:11999:3) at resolveExtends (./node_modules/vite/dist/node/chunks/dep-ByPKlqZ5.js:11857:12) at <anonymous> (./node_modules/vite/dist/node/chunks/dep-ByPKlqZ5.js:11792:24) at processTicksAndRejections (native:7:39)transforming (110) node_modules/react-dom/cjs/react-dom.production.js
Describe the bug
I could build components with Bun but I couldn't build stories with it.
Reproduction link
/~https://github.com/ianzone/storybook-init
Reproduction steps
System
Additional context
No response
The text was updated successfully, but these errors were encountered: