Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: jsxDEV is not a function on production build with @storybook/react-vite 8.0.7 #26919

Open
unional opened this issue Apr 22, 2024 · 0 comments

Comments

@unional
Copy link
Contributor

unional commented Apr 22, 2024

Describe the bug

This only occurs during production build.

It works when build with NODE_ENV=\"development\" storybook build

To Reproduce

I have a monorepo with multiple projects. It occurs on every projects.
Will see if I can create a repro.

System

Storybook Environment Info:

  System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Pro
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 20.12.2 - ~/.nvm/versions/node/v20.12.2/bin/node
    npm: 10.5.0 - ~/.nvm/versions/node/v20.12.2/bin/npm
    pnpm: 9.0.4 - ~/.nvm/versions/node/v20.12.2/bin/pnpm <----- active
  Browsers:
    Chrome: 124.0.6367.62
    Safari: 17.4.1

Additional context

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant